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

[EX Q]: [7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]
[EX A]: T, 5979, w

[EX Q]: ['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]
[EX A]: 5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193

[EX Q]: ['Y', 6563, 't', '787', '3929', '2879', '9407', 'G', 'G', '6107', 'C', '4253', '1063', 't', 'p', 'g', 6927, 3649, 'H', 1143, 'L', 'z', 'm', 'O', 'B', 'P'], [8589, 3233, 6489, 'J', 951, 'C', 6435, 6733, '787', '3929', '2879', '9407', 'G', 'G', '6107', 'C', '4253', '1063', 't', 'p', 'Y', 7021, 'M', 6007]
[EX A]:
787, 3929, 2879, 9407, G, G, 6107, C, 4253, 1063, t, p