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: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]

A: z, f, o, L
****
Q: ['u', 455, 'A', 595, 9561, 791, 'v', 2351, 7733, 3183, 'a', 'G', 4171, 3095, 3953, 3337, 9447, 'A', 'T', 'w', '5515', 'c', 'k', 'K', '7113', '8911', '2245', 'd', 'B', '1605', '2923', 'h', '8333', '8817', 'H', 'v', '7615', '3451', '1085', '8541', '5069', 'A', 'G', 'y', '7547', '8983', '275', '7799', '7501', '5797', 'q', 2297, 7915, 5299, 'f', 'c', 6913, 1403, 5285, 723, 7159, 'h', 5007, 7621, 'F', 2785, 6193, 2179, 'd', 777, 5497], ['q', 3245, 'W', 2129, 'C', 1645, 317, 7209, 'R', '5515', 'c', 'k', 'K', '7113', '8911', '2245', 'd', 'B', '1605', '2923', 'h', '8333', '8817', 'H', 'v', '7615', '3451', '1085', '8541', '5069', 'A', 'G', 'y', '7547', '8983', '275', '7799', '7501', '5797', 'd', 9855, 8855, 1011, 't', 7779, 7873, 7695, 'W', 'z', 'R']

A:
5515, c, k, K, 7113, 8911, 2245, d, B, 1605, 2923, h, 8333, 8817, H, v, 7615, 3451, 1085, 8541, 5069, A, G, y, 7547, 8983, 275, 7799, 7501, 5797
****