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

[Q]: ['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']
[A]: 8337, L, 4245, M, M, H, 4531, B, p, 6961


[Q]: ['E', 'M', 'B', 4331, 'f', 3649, 'r', 7345, 7215, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'U', 5067, 3717, 'J', 'u', 'X', 3429], [4891, 'Z', 4213, 'f', 'z', 't', 2777, 6509, 9497, 6257, 1147, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'a', 9125, 'k', 8711, 'w']
[A]: 4923, 4941, 4355, v, 5773, 1229, 1517, 4395, 5783, 161, b


[Q]: [5465, 1063, 5187, 's', '5761', '7691', '379', 'n', 'q', '2061', 'a', 't', 9589, 1843], [6109, 749, 6605, 8969, 6941, '5761', '7691', '379', 'n', 'q', '2061', 'h', 'I', 5945]
[A]:
5761, 7691, 379, n, q, 2061