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

[EX Q]: ['T', 5987, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'n', 5107, 'w', 'u'], [6625, 'm', 8849, 3385, 6853, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'a', 'G', 'G', 'e', 3501]
[EX A]: 3759, O, x, 4311, e, 6841, R, d, y, 2745

[EX Q]: ['K', 1657, '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'X', 'n', 3631, 'o', 'm'], ['P', 6249, 7565, 's', 1041, 'V', 'D', '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'n', 'U', 'z', 2559, 5379, 6985, 6059]
[EX A]: 5001, 8571, 2343, 9471, P, 6369, 9299

[EX Q]: ['X', 't', 5365, '5295', '5313', '2369', '119', 'V', 'G', 3381, 8179, 'q'], [1827, 'q', '5295', '5313', '2369', '119', 'V', 'f', 'S', 3633, 3011]
[EX A]:
5295, 5313, 2369, 119, V