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

[Q]: [8431, 'L', 809, 'V', 3993, '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'T', 'O', 'o'], [9535, 4859, 4223, 9541, 8281, 'L', 'M', 'W', 'Q', '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'M', 7209, 7775, 'I', 'n', 'l', 7173, 'E', 'L', 'h']
[A]: 5725, g, 1797, 8531, i, 1975, Y, U, 2979, E, 9345


[Q]: [8555, 1665, 'm', 5361, 2523, 'L', 'T', 'P', 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 't', 'F', 8547, 1815, 1599, 4083, 'm', 9959, 'R', 'L'], [7829, 'N', 1893, 4933, 9825, 9043, 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 'C', 'p', 2443, 'Q', 'H', 155, 277, 7833, 8183]
[A]: B, q, W, 2357, 6563, d, 8239, p, c, e, d, S, k, H, U, g, j, r


[Q]: [2165, 9305, 'B', 437, 4907, 'q', 5409, 'a', '9961', 'r', '1433', '6729', 'f', 'W', 'q', '2185', '5915', 'X', 6035, 3615, 261, 5593, 'v', 'b', 8989], [5925, 1149, 'f', 6897, 'k', '9961', 'r', '1433', '6729', 'f', 'W', 'q', '2185', '5915', 'M', 8517, 'Z', 1909, 6827, 'Q', 1213, 'W', 'u']
[A]:
9961, r, 1433, 6729, f, W, q, 2185, 5915