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

[Q]: [7257, 'p', 'o', 7595, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'v', 'P', 'l', 'i', 'q', 6171, 397, 1631], [4641, 1471, 5915, 1657, 4847, 'v', 3719, 'U', 9943, 'v', 2189, 9163, 'Y', 'C', 'e', 3867, 3395, 'm', 5999, 9653, 'K', 'H', 2767, 1999, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'g', 5715, 'm', 'K', 'g', 'Q', 5439, 7327, 'V', 1335, 885, 9993, 'n', 2303, 1305, 9329, 'i', 5357, 't', 7567, 2211, 787, 7459]
[A]: w, S, U, 3739, Z, n, m, M, 6421, 3519, B, 2639, a, 8269, j, 2425, E, E, V, H, D, d, M, o, 3915


[Q]: [8235, 6785, 'P', 'N', 'y', '5503', '6065', '2039', 'Q', 'o', 'F', 7791, 'R', 'm', 3633], ['s', 863, 'z', 'y', '5503', '6065', '2039', 'Q', 'o', 'o', 6907, 5837, 's', 2553]
[A]: y, 5503, 6065, 2039, Q, o


[Q]: [6123, 3749, 'S', 2661, 1219, 'X', 'h', 871, 'N', 'j', 'h', 'B', '2115', 'P', '8285', 'X', '4023', 'z', '5863', '8637', 'U', '7355', '2487', '7567', '3031', '2373', 'P', 'o', 'h', 'K', 3259, 1387, 'y', 7603, 7381, 1723, 3293, 1639, 6655, 'A', 'X'], [4625, 3181, 'q', 685, 8003, 'R', 6959, 'B', '2115', 'P', '8285', 'X', '4023', 'z', '5863', '8637', 'U', '7355', '2487', '7567', '3031', '2373', 'P', 'o', 'h', 'B', 71, 'T', 'R', 959, 'q', 'K', 9317, 929, 4199, 9545, 7183, 'z', 'p', 8501, 'g']
[A]:
B, 2115, P, 8285, X, 4023, z, 5863, 8637, U, 7355, 2487, 7567, 3031, 2373, P, o, h