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

Ex Input:
[9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']

Ex Output:
3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J


Ex Input:
[1925, 1033, 'n', 1719, 1863, 9415, 'D', 8649, 's', 1653, 'V', 4263, 7099, 1825, 4487, 'G', 6067, 1553, 2517, '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 'z', 8647, 9547, 'W', 7287, 7347, 'N', 'n', 'T', 5997, 4799, 'V', 'H', 4561, 'B', 2887, 9375, 3029, 'Y', 'x', 'J'], [6377, 'o', '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 't', 'c', 7365, 3141, 5971, 6183, 'H', 3775, 'o', 2757, 9621, 'g', 'g', 1713, 'M', 9787, 5173, 9745, 'J', 'N', 8953, 'K', 1443, 'w', 8793, 9963, 6383, 3985, 9087]

Ex Output:
7743, 3161, X, 5815, 8019, 7445, H, g, 3451, 7313, j, v, 8927, 1115, b, t, 1253, 8603, p, p, c, i, 8035, Z, Z, 3931, 4321, q, 2639, S


Ex Input:
['M', 2463, 'V', 9011, 'h', 'O', 'G', 'N', 6661, 5355, 'H', 599, 'S', 4081, 7647, 3251, 'Q', 'R', 'a', 'z', 'U', 's', 5221, 3871, 'M', 'H', '5103', '4019', '6103', 'f', 'q', 'c', 'w', 'P', '9315', 'p', '8071', 'f', '5277', 'B', '759', '3617', 'r', 'P', '1793', '7689', 'l', 'v', 'E', '7749', '15', 'F', 'u', 'f'], ['U', 9345, 6381, 1311, 'v', 'j', 'o', 'U', 8919, 'k', 'S', 'H', '5103', '4019', '6103', 'f', 'q', 'c', 'w', 'P', '9315', 'p', '8071', 'f', '5277', 'B', '759', '3617', 'r', 'P', '1793', '7689', 'l', 'v', 'E', '7749', '15', 't', 'r', 3655, 'm', 'N', 1299, 2155, 6443, 'Z', 'V', 'w', 'j', 'V', 'g', 6933, 'L', 9435, 53]

Ex Output:

H, 5103, 4019, 6103, f, q, c, w, P, 9315, p, 8071, f, 5277, B, 759, 3617, r, P, 1793, 7689, l, v, E, 7749, 15