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

Ex Input:
['m', 'R', 1791, 'v', 5547, 'p', 'j', 5069, 8061, 'G', 's', 1521, 2285, 1963, 'n', 'a', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'a', 6921, 'e', 7497, 'Y', 'p', 451, 'f', 6413, 3785, 1601, 3193, 'i'], [9375, 2255, 'j', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'f', 'K']

Ex Output:
4537, X, Z, 8981, W, u, 827, 4681, 2433, 3179, p, a, 4675, r, 3527, 3021, 6363, o, E


Ex Input:
['s', 'J', 2223, 'y', 'v', '9315', '8837', 'z', '8583', 'o', 'c', 'V'], ['E', 5699, 1225, 'f', '9315', '8837', 'z', '8583', 'o', 'u', 'j']

Ex Output:
9315, 8837, z, 8583, o


Ex Input:
[251, 'c', 1331, 'L', 'L', 9053, 9483, 'k', 'N', 'p', 1151, 899, '6763', 'z', '8137', 'r', 'q', 'Z', 'n', 'j', '4485', 'A', '3783', 'u', 'N', 'U', '7363', 'W', '5293', '1079', '9783', '3607', '1251', 'h', 'l', 'J', 2325, 4817, 9673, 4207, 'j', 9805, 'E', 303, 2477, 'c'], [6457, 9339, 'Y', 'a', 'Q', 7923, 'y', 1999, 'A', 'P', 8251, 8191, 2863, 5969, 5351, 7183, 2273, 'b', 5179, 783, 'E', '6763', 'z', '8137', 'r', 'q', 'Z', 'n', 'j', '4485', 'A', '3783', 'u', 'N', 'U', '7363', 'W', '5293', '1079', '9783', '3607', '1251', 'W', 'K', 'G']

Ex Output:

6763, z, 8137, r, q, Z, n, j, 4485, A, 3783, u, N, U, 7363, W, 5293, 1079, 9783, 3607, 1251