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

[EX Q]: ['S', 'd', 'z', 2305, '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'U', 'y', 'N', 'n', 6769], ['Q', 'T', 'n', 1267, 5099, 57, 4739, 295, 8099, 'n', '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'K', 'n', 'N', 'b', 3941, 3443, 'A', 7927, 'g', 'h']
[EX A]: 2731, W, 5987, 4043, w, v, S, v, 1143, 1725, 9073, 4411, 9321, 1213, 3111, 2527, U

[EX Q]: [1373, 'R', 'U', 5661, 'g', 'q', 'e', 'v', 'E', 'Q', 'J', '8395', 'o', 4093], ['K', 4843, 'N', 'e', 'v', 'E', 'Q', 'J', '8395', 'V', 3155, 'V', 'H', 'X', 'C']
[EX A]: e, v, E, Q, J, 8395

[EX Q]: ['e', 7227, 205, 'k', 8377, '7471', 'b', '1975', '4615', '975', 'F', 9007, 'b', 413, 6319], ['h', 'm', 's', 7367, 9781, '7471', 'b', '1975', '4615', '975', 'U', 'v']
[EX A]:
7471, b, 1975, 4615, 975