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

[Q]: [953, 'l', '1329', '527', '6257', 'v', '5461', 'F', 't', 3373, 'r'], ['v', 'P', '1329', '527', '6257', 'v', '5461', 'h', 5517, 'Z', 'y', 5061]
[A]: 1329, 527, 6257, v, 5461


[Q]: ['l', 8391, 7237, 'j', 5061, '1867', 'R', '5053', 'H', 'R', 'd', 'K', 8013, 'H'], ['H', 7623, '1867', 'R', '5053', 'H', 'R', 'd', 'e', 3679, 'd', 'M', 'j']
[A]: 1867, R, 5053, H, R, d


[Q]: ['S', 8159, 'P', 'l', 'U', 6043, 'c', 'l', 'O', 2251, 3051, 'b', 5021, 8305, 8249, 'A', 'n', 9253, 7835, 'W', 'p', 'j', 'M', '963', 'w', 'e', 'Z', 'Y', 'E', 'D', '3643', 'Y', '3907', 'O', '319', 'E', '3169', 'A', 'm', 'k', '2991', '1273', '6367', '6021', '6921', '4209', '6837', 'H', 'U', 'E', 7091, 6209, 3135, 9773, 'L', 6031, 6945, 'C', 'L', 27], ['c', 1729, 7401, 1597, 2865, 'j', 'M', '963', 'w', 'e', 'Z', 'Y', 'E', 'D', '3643', 'Y', '3907', 'O', '319', 'E', '3169', 'A', 'm', 'k', '2991', '1273', '6367', '6021', '6921', '4209', '6837', 'H', 'C', 'A', 619, 9211, 'J', 'g', 't', 5737, 6603, 8953, 'x']
[A]:
j, M, 963, w, e, Z, Y, E, D, 3643, Y, 3907, O, 319, E, 3169, A, m, k, 2991, 1273, 6367, 6021, 6921, 4209, 6837, H