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

['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]
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

[6529, 'i', 8343, 't', 'h', 5181, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'E', 'W', 625, 'O', 'm'], [4169, 8965, 6125, 'U', 'x', 'E', 7203, 'I', 81, 'P', 'r', 8581, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'v', 'f', 'q', 'b', 'm', 'f', 9239, 'b', 895, 703, 7809, 'E', 'l', 'c', 7915]
k, 5863, m, P, 9787, r, 1383, U, a, p, T, 1635, J, X, O

[3017, 6339, 9137, 'F', 1501, 'g', 3805, 'f', 'j', '1035', '2459', 'd', '2105', '3175', '377', '5289', '8543', 'g', 'i', 'i', 'X', '3077', '985', '9159', '3519', 'o', '4645', '5585', 'i', 'T', 'm', 'i', 'E', 'A', 'q', 9331, 2707, 'd', 2347, 'E', 975, 'g'], ['A', 1647, 8419, 'W', 'u', 'N', 'E', 2997, 2717, 485, 7733, 3607, 6299, 'L', 'T', 'z', 733, 'j', '1035', '2459', 'd', '2105', '3175', '377', '5289', '8543', 'g', 'i', 'i', 'X', '3077', '985', '9159', '3519', 'o', '4645', '5585', 'i', 'c', 'i', 6161, 'u', 3625, 3785, 9349, 'N', 6495, 'r', 253, 'p', 'R']
j, 1035, 2459, d, 2105, 3175, 377, 5289, 8543, g, i, i, X, 3077, 985, 9159, 3519, o, 4645, 5585, i