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

Ex Input:
[395, 'n', 'w', 2771, 'E', 'b', 't', 3169, 1467, 'U', 3777, 'E', 'v', 7179, 6343, 7867, 1145, 6015, 'z', 'b', 'n', 681, 6517, 'c', 'z', 2275, 3123, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'I', 'W', 5819, 'E', 8891, 'v', 'x', 1871, 'd', 1279, 7007], ['b', 'K', 4685, 9075, 3699, 3283, 3619, 4061, 't', 1445, 'Y', 'a', 'p', 'm', 5807, 7723, 'X', 'R', 'u', 'j', 6005, 6139, 4653, 283, 4471, 'Z', 'n', 5021, 1519, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'n', 7877, 4097, 'o', 'N', 7407, 'T', 'O', 6965, 8331, 'i', 5451, 'N', 'p', 'r', 7669, 8539, 'h', 'U', 8731, 4935]

Ex Output:
Q, q, m, A, 3931, 6189, Y, 5423, 2865, y, 9783, R, 7107, i, 1257, C, 6923, F, E, 2937, c, Y, j, 5731, P, L, M, 65, s


Ex Input:
['C', 'a', 5955, 5411, 'a', 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 'e', 'R', 'A', 'R', 5893, 't', 5495, 2381, 2823, 't', 'c', 'k', 9259, 4655, 8337, 8027, 'D', 7767, 'F'], ['V', 'w', 'x', 'p', 'N', 4045, 'h', 'h', 2607, 6243, 'F', 8575, 7799, 5463, 'N', 'j', 5469, 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 's', 9037, 'F', 'a', 'S', 9619, 8457, 'o', 8497, 675, 'B', 't', 'Y', 'x', 'x', 'K', 9773]

Ex Output:
x, 9177, 1943, P, 7863, 6755, o, 5373, 2989, g, A, a, J, B, 8111, u, x, 4477, N, f, 4307, e, 3095


Ex Input:
[3563, 6167, 211, 2581, 9893, 'A', 'f', '5595', '5775', 'W', 'J', 'J', 'I', '9687', '5801', '1637', 'a', 'M', 'w', 'B', 'o', 'm', 8275], ['f', 8629, 'I', 'l', '5595', '5775', 'W', 'J', 'J', 'I', '9687', '5801', '1637', 'a', 'M', 'w', 'B', 'k', 'y', 'V']

Ex Output:

5595, 5775, W, J, J, I, 9687, 5801, 1637, a, M, w, B