In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Ex Input:
[7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']

Ex Output:
6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093


Ex Input:
['l', 8391, 7237, 'j', 5061, '1867', 'R', '5053', 'H', 'R', 'd', 'K', 8013, 'H'], ['H', 7623, '1867', 'R', '5053', 'H', 'R', 'd', 'e', 3679, 'd', 'M', 'j']

Ex Output:
1867, R, 5053, H, R, d


Ex Input:
[2693, 'F', 'R', 'C', 2079, '2953', '8589', 'W', 'v', '6821', 'r', 'T', 'F', '6627', 'i', '4985', '6073', '5947', '4001', 'K', 'F', 'O', 3127, 17, 3889, 'X', 2345, 'W', 'R', 8305, 'd', 1205], [5673, 2971, 'F', 'u', 'L', '2953', '8589', 'W', 'v', '6821', 'r', 'T', 'F', '6627', 'i', '4985', '6073', '5947', '4001', 'z', 'V', 'z']

Ex Output:

2953, 8589, W, v, 6821, r, T, F, 6627, i, 4985, 6073, 5947, 4001