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

[Q]: ['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']
[A]: 9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G


[Q]: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]
[A]: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163


[Q]: [8821, 'd', 3717, 'f', 'a', 213, 'b', 'O', 'W', '2689', 'o', 'd', '3299', '487', 'U', '8849', 'J', 'x', '1087', 'U', '8465', 'd', 9767, 'p', 8629, 6721, 'l', 'n', 'k', 133, 'F', 'j'], ['s', 4051, 'j', 'm', 'E', 'p', 689, 565, 'L', 'i', 'b', 'O', 'W', '2689', 'o', 'd', '3299', '487', 'U', '8849', 'J', 'x', '1087', 'U', '8465', 'c', 8609, 'B', 2459, 5609, 2269, 8205]
[A]:
b, O, W, 2689, o, d, 3299, 487, U, 8849, J, x, 1087, U, 8465