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

Ex Input:
[5625, 6017, 'd', 'p', '4423', '77', 'E', '5271', 'A', 1553, 'c'], ['U', 1615, 'u', 'd', 'p', '4423', '77', 'E', '5271', 'x', 'w', 'Y']

Ex Output:
d, p, 4423, 77, E, 5271


Ex Input:
['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]

Ex Output:
2891, 7537


Ex Input:
[1459, 'Z', 1075, 1869, 2979, 6659, 'M', 'U', 229, 8249, 8783, 'b', 4533, 7259, 'K', 6799, 'c', 8235, 'E', 4135, 'Z', 'W', 'c', '945', 'Y', 'a', 'x', 'm', 'H', 'g', 'j', '7445', '7465', '773', '1847', '9789', 'A', 'P', 'Q', '3287', '4137', '1733', 'Q', 'a'], [77, 9385, 9159, 6041, 429, 'w', 'k', 3721, 4603, 6439, 3031, 't', 'Z', 'W', 'c', '945', 'Y', 'a', 'x', 'm', 'H', 'g', 'j', '7445', '7465', '773', '1847', '9789', 'A', 'P', 'Q', '3287', '4137', '1733', 'e', 'R', 'o', 'U', 'z', 3583, 7495, 573, 'x', 'h', 'a', 'b', 6579, 2259, 'f', 'k', 'r', 2425, 'O', 'T']

Ex Output:

Z, W, c, 945, Y, a, x, m, H, g, j, 7445, 7465, 773, 1847, 9789, A, P, Q, 3287, 4137, 1733