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

Ex Input:
[2799, 'R', 's', '9885', 's', 'c', '7143', 'H', '445', 'F', 9229, 'B', 5169, 'T', 's'], [109, 'u', 'f', 2303, 1495, 5041, '9885', 's', 'c', '7143', 'H', '445', 'v', 7261]

Ex Output:
9885, s, c, 7143, H, 445


Ex Input:
['g', 305, '8447', 'K', 'y', 'D'], [2445, 5519, '8447', 'K', 't', 'l']

Ex Output:
8447, K


Ex Input:
['D', 'C', 4503, 'w', 'p', 5543, 'n', 'h', 3175, 'w', 8981, 'N', 2829, 'e', 5719, 'D', 9745, 6149, 1645, 'Y', '7231', 'v', 's', 'K', 'S', '2769', '7527', '6615', '2421', '7199', '8115', 'a', '2821', '5769', 'S', 'j', 'Q', '99', 'p', '5149', 'Q', 1679, 'K', 'z', 9399, 3663, 4265, 6979, 8969, 6533, 'w', 5885, 'q', 8441, 6003, 's', 'm', 4123], ['Q', 1843, 5093, '7231', 'v', 's', 'K', 'S', '2769', '7527', '6615', '2421', '7199', '8115', 'a', '2821', '5769', 'S', 'j', 'Q', '99', 'p', '5149', 'n', 6269, 'S', 2063, 1259, 'V', 'b', 8317, 'U', 3091, 1515, 1957, 'v', 'Z', 'Q']

Ex Output:

7231, v, s, K, S, 2769, 7527, 6615, 2421, 7199, 8115, a, 2821, 5769, S, j, Q, 99, p, 5149