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

[Q]: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
[A]: A, g, 6735, 6737, 6929, 3051, v, 1223, 497


[Q]: [9711, 6103, 3531, 3623, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'b', 6001, 'b', 2477, 'd', 'y', 'C', 9605], ['j', 'P', 'W', 9073, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'X', 8365, 9899, 'H', 'T', 4049, 'Z', 'w']
[A]: u, 6995, R, p, p, p, 8519, 4447


[Q]: [7751, 'I', 1587, 'o', 'C', 'z', 'P', '563', 'Q', '2949', '221', '2937', 'O', 'N', 'a', '8687', 'B', 'b', '2093', '5177', '2277', '7149', '2759', 'X', 'x', 'N', '8465', '7231', 'S', 4263, 'E', 'M', 'Q', 'F', 359, 'V', 'g'], [7665, 't', 'l', 'X', 'd', 9127, 't', 2353, 'l', 5427, 'U', 'a', 'c', 'R', 61, 'e', 'y', 't', 8569, 8523, 407, 1181, 'P', '563', 'Q', '2949', '221', '2937', 'O', 'N', 'a', '8687', 'B', 'b', '2093', '5177', '2277', '7149', '2759', 'X', 'x', 'N', '8465', '7231', 'v', 'q', 'I', 'a', 'p', 'v', 'r', 2061, 'L', 6143, 1887, 2241, 'z', 'o', 'w', 9501, 'v', 8051, 8943, 'W', 8995, 7337]
[A]:
P, 563, Q, 2949, 221, 2937, O, N, a, 8687, B, b, 2093, 5177, 2277, 7149, 2759, X, x, N, 8465, 7231