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]: [7975, 4703, 'c', '8363', '1673', 'U', 'w', 6977], [3235, 'G', 'c', '8363', '1673', 'N', 'p']
[A]: c, 8363, 1673


[Q]: [3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']
[A]:
Q, J, c, 3205, 2707, 1869, 1285, z, c