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

[EX Q]: ['a', 8119, 'S', 2575, 3531, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'F', 'N', 'g', 'c'], [5559, 'P', 'V', 1419, 6507, 'W', 9429, 'V', 9763, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'y', 1229, 'S', 5613]
[EX A]: 3727, x, J, t, 9825, z, o, 4043, 3637, 7545

[EX Q]: ['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 A]: 4537, X, Z, 8981, W, u, 827, 4681, 2433, 3179, p, a, 4675, r, 3527, 3021, 6363, o, E

[EX Q]: [8261, 4041, 'F', 'o', 8929, 'v', 6585, 'i', 'G', 6957, 4109, 8597, 6439, 'Z', 'X', '6005', '4289', '5325', '319', 'X', 'G', '2971', '7377', '7957', 'j', 'c', 'l', '1777', 'B', 4207, 's', 'a', 1657, 5239, 'D', 6997, 'A', 7643, 'L'], ['J', 'm', 5809, 'e', 'n', 'l', 2067, 4221, 'r', 's', 'X', '6005', '4289', '5325', '319', 'X', 'G', '2971', '7377', '7957', 'j', 'c', 'l', '1777', 'b', 9877, 'P', 'p', 'U', 1473, 'W', 6811, 7227, 'a', 7829, 7025, 'A']
[EX A]:
X, 6005, 4289, 5325, 319, X, G, 2971, 7377, 7957, j, c, l, 1777