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

[Q]: [9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']
[A]: h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729


[Q]: ['p', 4329, 'S', 'D', 9241, 759, 2991, 'F', 3189, 7335, 9261, 'B', 6559, 9299, 7551, 'w', '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'q', 4811, 'a', 7535, 'y', 2697, 9437, 'P', 'V', 9525, 3879, 5751, 1229, 'i', 7163, 'v', 8903, 'F', 6205, 6447, 9677, 5529, 2883, 'G'], [4501, 'L', 'j', 'Y', 2979, 8761, 3813, 7945, 'r', 'X', 327, 'f', 'S', 'c', 6981, '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'g', 5615, 'n', 'e', 2989, 'T', 'P', 'z', 'R', 'E']
[A]: 1413, 7507, P, d, 8315, e, b, s, 7811, Q, S, B, 7459, m, X, 5533, f, F, 9347, Q, w, o, 6161, C


[Q]: ['L', 5809, 5609, 4053, 'O', 'm', 'b', 3197, 'r', 'j', 'm', 4123, 'Y', 8321, 'm', 8515, 'w', 7767, 7085, 'T', 6797, 'x', 'q', 4131, 'h', 969, 'T', 'M', 'p', 'd', '9717', '2047', 'i', 'N', 'U', '6035', 'z', 'D', '4369', '2185', 'w', '9059', 'B', '283', '3253', '3757', 'D', '6131', '6107', 'H', '8201', 'H', 'N', '6751', 'v', 9145, 193, 'I', 'b', 'r'], [1629, 6355, 'D', 'W', 6421, 5389, 'O', 'I', 'o', 'x', 9205, 'Z', 'l', 5529, 'Q', 'M', 'p', 'd', '9717', '2047', 'i', 'N', 'U', '6035', 'z', 'D', '4369', '2185', 'w', '9059', 'B', '283', '3253', '3757', 'D', '6131', '6107', 'H', '8201', 'H', 'N', '6751', 'O', 'U', 'A', 'z', 3535, 9289, 5363, 3781, 'b', 3197, 'U', 7483, 1205, 'F', 463]
[A]:
M, p, d, 9717, 2047, i, N, U, 6035, z, D, 4369, 2185, w, 9059, B, 283, 3253, 3757, D, 6131, 6107, H, 8201, H, N, 6751