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

Ex Input:
['x', 9249, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'J', 10001, 'A', 225, 1607, 'a', 'h', 6377], [375, 'D', 4093, 'g', 735, 955, 'c', 9937, 2987, 7035, 'X', 7703, 9937, 'Y', 3849, 2197, 4731, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'Y', 'K', 's', 1667, 9723, 3697, 1759, 3243, 'r', 'v', 'Z']

Ex Output:
X, o, 7637, q, S, 733, 1483, T, 7653, F, 7879, k, 1881, Q, J, 4517, n, q, 1919, 381, 4725

Ex Input:
['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]

Ex Output:
249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z

Ex Input:
['Z', 3883, 9895, 8629, 'w', 2465, 'B', 3541, 'x', 'n', 'X', 'I', 'g', '4807', 'y', '6819', 'C', '8705', 'R', 'v', '1899', '4401', '1031', 'K', '7861', 'a', 'B', 'i', 'Y', 705, 2675, 7131, 'q', 'y', 'Y', 3493, 'm', 7785, 'U', 'E', 'Q', 'p', 767, 3069, 'o'], [7747, 773, 3245, 'P', 'p', 101, 'I', 'g', '4807', 'y', '6819', 'C', '8705', 'R', 'v', '1899', '4401', '1031', 'K', '7861', 'a', 'B', 'i', 'A', 'a', 'w']

Ex Output:
I, g, 4807, y, 6819, C, 8705, R, v, 1899, 4401, 1031, K, 7861, a, B, i