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

[EX Q]: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
[EX A]: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259

[EX Q]: ['l', 8387, '6019', 'r', 't', 'Y'], ['S', 'q', '6019', 'r', 'Z', 9863]
[EX A]: 6019, r

[EX Q]: [5697, 4051, 3701, 471, 5701, 'G', 'U', 'S', '1375', 'w', 'w', 3771, 'q', 'P'], [4577, 1641, 'G', 'U', 'S', '1375', 'w', 'T', 2805, 'q', 'c']
[EX A]:
G, U, S, 1375, w