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

[EX Q]: ['f', 1055, 'X', 4189, 'G', 'J', 423, 8439, 'I', 'B', 6741, 151, 'R', 'A', 'S', 1495, 397, 'Y', 1945, 3493, 6379, 'b', '5877', 'E', 'd', '1819', '2441', '7059', '2535', '4855', '2281', '4211', '9017', '8631', 'C', '7107', '2473', '3995', '4923', '1735', '3551', 'U', 'X', 'V', 'v', 9151, 'L', 7093, 'r', 'n'], [5255, 'w', 'X', 5033, 'H', 4787, 7515, 'n', 9523, 'y', 'N', 4307, 3457, 1235, 3197, 'p', 'Q', 5355, 5255, 'E', 417, '5877', 'E', 'd', '1819', '2441', '7059', '2535', '4855', '2281', '4211', '9017', '8631', 'C', '7107', '2473', '3995', '4923', '1735', '3551', 'U', 'X', 'V', 'g', 'a', 'W', 2175, 4043, 'a', 'T', 1463, 1547, 7287, 'j', 'U', 2379, 5541, 7265]
[EX A]: 5877, E, d, 1819, 2441, 7059, 2535, 4855, 2281, 4211, 9017, 8631, C, 7107, 2473, 3995, 4923, 1735, 3551, U, X, V

[EX Q]: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]
[EX A]: 7587, 521, a, 1617, 5245, 5629, 9977

[EX Q]: [4889, 10003, 'i', 'v', 'e', '2939', '9107', 'c', '8289', 'J', '1663', '6343', 'j', 6833, 'r', 5717, 'I', 'd'], [8815, 'Q', 10013, 'G', 'p', 'W', 'e', '2939', '9107', 'c', '8289', 'J', '1663', '6343', 'v', 'j', 4473]
[EX A]:
e, 2939, 9107, c, 8289, J, 1663, 6343