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

Ex Input:
['L', 6265, 'o', 'B', 9743, 9139, 't', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'J', 8701, 'U', 'q', 'r', 8487, 'G', 'N', 'z', 3439, 'I', 'a', 639], ['X', 7305, 'k', 4911, 1119, 'S', 'F', 8665, 3167, 1117, 6267, 4025, 'S', 'h', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'H', 7485, 5635]

Ex Output:
4107, 821, 9019, 5149, 7817, i, 787, G, b, g, g, j, 197, n, W, Z, 7081, 4487, 1439, 1117, K, O, 2241


Ex Input:
[1201, 'x', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'D', 3599, 'B', 2299], ['T', 'z', 'A', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'T', 'M', 'M']

Ex Output:
Z, 1951, 6643, 4463, N, W, 4625, w


Ex Input:
['d', 8957, 'O', 'Q', 6379, 'V', '5753', '9615', 's', 'T', '2155', 'k', 1835], ['n', 'v', 'O', 'Y', 'b', 'V', '5753', '9615', 's', 'T', '2155', 's', 6873, 'H']

Ex Output:

V, 5753, 9615, s, T, 2155