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

Ex Input:
['G', 'E', 'A', 'u', 'x', 'W', 'o', 'e', 'i', 'B', 3441, 'S', 8211, 'E', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'a', 9789, 4073, 'J', 'C', 8849, 6749, 'G', 5237, 9697, 1425, 'J', 5755], ['W', 'S', 'V', 'r', 'd', 'v', 7267, 7665, 'c', 3763, 'Z', 7427, 4575, 'D', 'q', 'U', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'z', 4797]

Ex Output:
5913, 4807, 8365, v, 5383, V, M, i, I, J, 1475, 3385, r, 9983, U, i


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:
['f', 'Q', '4205', 'h', 'S', '9439', 'q', 'r', 'z', 'w', 'p', '8011', 'P', '8317', '9445', 'x', 'y', '7547', 'A', '3471', '9805', 'O', 'U', 2815, 4205, 4771], [5507, 7153, 7805, 'D', 1415, 'w', 'u', 'T', 5705, 'q', 'g', 'j', 1649, 9795, 'j', 'c', 'd', 5149, '4205', 'h', 'S', '9439', 'q', 'r', 'z', 'w', 'p', '8011', 'P', '8317', '9445', 'x', 'y', '7547', 'A', '3471', '9805', 'o', 'j', 'X', 'T', 6301, 6401, 7757, 'e', 'a', 'G', 's', 'z', 1909, 'J', 'd', 1017, 'U', 'h']

Ex Output:

4205, h, S, 9439, q, r, z, w, p, 8011, P, 8317, 9445, x, y, 7547, A, 3471, 9805