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]: ['w', 'i', 5729, 'G', 8651, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'R', 'A', 5949, 8347, 9169, 'N', 9753, 4353, 9447, 5747, 4347, 'f', 8247, 'D', 'y'], ['b', 'd', 237, 'y', 9735, 'M', 'j', 'f', 9789, 'x', 4217, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'E', 'e', 4021, 7065, 1651, 'n']
[A]: 1845, a, 715, O, 3649, w, 8821, 2545, 1011, u, 895, 4133, n, 3759, w, X


[Q]: ['i', 1479, 'w', 4109, 8477, 'A', 7983, 6329, 7117, 7933, 8701, 1019, 1041, 'q', '1827', '5617', 'u', 'B', 't', 'v', 'B', 'y', 'R', '1107', '5903', '9399', '6541', '3195', '747', '2633', 'U', '5885', '7781', 'd', 'F', 'M', '1539', '6819', '4203', 'm', 'D', 'R', 'J', 'C', 'c', 5925, 5013, 2965, 8309, 9461], [1155, 5401, 1997, 'H', 'O', 'w', 'G', 'w', 'z', 2703, 'Z', 4103, 6345, 'K', 10015, 'm', 2029, 'P', 2217, 'N', 9605, 'Z', 'z', 'P', 9937, 1879, 6837, 3265, 'H', 'z', 'q', '1827', '5617', 'u', 'B', 't', 'v', 'B', 'y', 'R', '1107', '5903', '9399', '6541', '3195', '747', '2633', 'U', '5885', '7781', 'd', 'F', 'M', '1539', '6819', '4203', 'm', 'D', 'R', 'J', 'Q', 6421, 517, 8849, 6637, 'r', 9897, 'r', 'B', 'Z', 8073, 'p', 'v', 'h', 5537, 7119, 'p', 'K', 4569, 8539, 'u']
[A]:
q, 1827, 5617, u, B, t, v, B, y, R, 1107, 5903, 9399, 6541, 3195, 747, 2633, U, 5885, 7781, d, F, M, 1539, 6819, 4203, m, D, R, J