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

[Q]: ['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]
[A]: 249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z

[Q]: ['G', 'w', 303, 3489, 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'i', 4849, 4213, 6515, 2843, 'w', 's', 'I', 'i', 'T', 5141, 'U', 3963, 243, 4619, 9651, 'Z', 'u', 'L', 5451, 'v'], [259, 'j', 'd', 'z', 1223, 2837, 'W', 6601, 'e', 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'j', 'T', 3007, 'r', 3347, 'L', 3661, 2089, 8855, 'Y', 4855, 2825, 2471]
[A]: P, 3623, 5367, q, n, s, X, 7543, 6035, 9099, 5525, 3181, p, 9521, I, 8151, 5793, 8009, o, 8671, Q, 2929

[Q]: [6495, 'o', 'u', 'K', 'L', 1519, 'q', 'd', 'N', 'f', '7443', 'h', 'k', '9579', 'X', 'Z', '643', '7227', 'i', '2543', '7831', 'C', '1057', 'W', 't', '9133', '9551', 'n', 5489, 4567, 4403, 1129, 'V', 'w', 'X', 'H', 'j', 7885, 'T', 7349, 'j', 'S', 641, 'M', 9001], ['f', 'x', 'd', 'N', 'f', '7443', 'h', 'k', '9579', 'X', 'Z', '643', '7227', 'i', '2543', '7831', 'C', '1057', 'W', 't', '9133', '9551', 'P', 'U', 7951, 4177, 'Z', 879, 6845, 2769, 'u', 5869, 7345, 'w', 6153]
[A]:
d, N, f, 7443, h, k, 9579, X, Z, 643, 7227, i, 2543, 7831, C, 1057, W, t, 9133, 9551