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

[Q]: ['x', 495, 'L', 'O', 2935, 'y', 163, 3507, 6515, '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'w', 1985, 'F', 'V', 5375, 6359, 7963, 4103, 2625, 'p', 'N', 7945, 'L', 6909], [251, 'J', 'k', 4075, 'd', 'x', 'j', 'K', 'u', 605, 1667, 8527, 6845, 2537, 'O', 9259, 'o', 'B', '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'j', 'S', 'H', 1289]
[A]: 5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t

[Q]: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]
[A]: 9525, B, o

[Q]: [1243, 'u', 9459, 1823, 8453, 'X', 747, 1853, 'T', 'b', 3605, 'h', 3103, 'F', 'L', 8343, 's', '3213', 'h', '2905', 'Y', '9481', 'h', 'k', '8723', 'k', '9763', '313', '7061', '6677', '8523', '811', 'b', '4485', 'z', 'K', 'U', 'w', '5683', '4277', 'P', 'n', 'L', 'i', 1851, 'Q', 'd', 10005, 'p', 'v', 'D', 5627, 3209, 9393, 1371, 'o', 2275], [5773, 'I', 'd', 'S', 'I', 1657, 5669, 7849, 3849, 5499, 'f', 251, 's', '3213', 'h', '2905', 'Y', '9481', 'h', 'k', '8723', 'k', '9763', '313', '7061', '6677', '8523', '811', 'b', '4485', 'z', 'K', 'U', 'w', '5683', '4277', 'P', 'n', 'H', 2027, 'p', 'R', 2361, 'r', 'P', 'A', 427, 7933, 2705]
[A]:
s, 3213, h, 2905, Y, 9481, h, k, 8723, k, 9763, 313, 7061, 6677, 8523, 811, b, 4485, z, K, U, w, 5683, 4277, P, n