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:
['m', 'F', 5425, 1403, 6355, 7383, 'Y', 'e', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'N', 2741, 7825, 6521, 'R'], [8389, 7261, 4783, 6181, 6767, 9719, 2625, 'W', 4357, 1749, 887, 153, 8939, 'K', 1329, 'T', 'a', 'k', 'F', 't', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'K', 'E', 'P', 8489, 2309, 'j', 3937, 4731, 'H']

Ex Output:
K, 10031, S, 9599, V, i, 6919, r, m, I, x, 6889, M, 1977, S, c, m, 4569, F, C, u

Ex Input:
[8431, 'L', 809, 'V', 3993, '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'T', 'O', 'o'], [9535, 4859, 4223, 9541, 8281, 'L', 'M', 'W', 'Q', '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'M', 7209, 7775, 'I', 'n', 'l', 7173, 'E', 'L', 'h']

Ex Output:
5725, g, 1797, 8531, i, 1975, Y, U, 2979, E, 9345