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

Ex Input:
[2647, 'D', 'q', 'P', 6067, 3591, 1081, 'T', 2835, 5797, 7213, 7679, 'W', 4661, 7889, 9677, 3313, 7233, 9121, 2061, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'a', 547, 657, 5609], ['o', 8055, 'b', 345, 'k', 1237, 'R', 'M', 2177, 'V', 3921, 'k', 'o', 'z', 7451, 27, 'F', 8073, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'e', 9767, 1391, 'Q']

Ex Output:
v, u, 325, 8069, 4691, 9597, O, 8811, 6583, M, 4393, 1767, v, 2707, 4419, Q, a, 3885, 1795, 9599


Ex Input:
[4249, 1307, 'R', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'H', 'K', 7197, 3907, 'I', 5561], [8961, 1477, 'X', 'C', 7153, 1005, 'C', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'L', 7313, 2449, 4181, 1573]

Ex Output:
3377, 9383, w, 7897, S, 1791, f, 6787


Ex Input:
['N', 8205, 'J', 2351, 6985, 'h', '5473', '6307', '6821', 'S', 'I', 5315], ['U', 'S', 2077, 2823, 'y', 'h', '5473', '6307', '6821', 'S', 'a', 'a', 8685, 's', 'u']

Ex Output:

h, 5473, 6307, 6821, S