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

Ex Input:
['U', 637, 'o', '3327', 'A', '7495', 'i', 'b', '2067', '5555', '3619', '1697', 't', 3715, 'Q'], ['u', 921, 4467, 2095, 345, 'b', '3327', 'A', '7495', 'i', 'b', '2067', '5555', '3619', '1697', 'E', 7935, 'B', 6341, 'N', 'V', 7655]

Ex Output:
3327, A, 7495, i, b, 2067, 5555, 3619, 1697


Ex Input:
[3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']

Ex Output:
Q, J, c, 3205, 2707, 1869, 1285, z, c


Ex Input:
['o', 'K', 4861, 'z', '1169', '4841', '9321', '8935', 'o', '2359', 'I', '3003', 'a', 2401], [5777, 'd', 'a', 9009, 'd', 4175, '1169', '4841', '9321', '8935', 'o', '2359', 'I', '3003', 'S', 497, 9197]

Ex Output:

1169, 4841, 9321, 8935, o, 2359, I, 3003