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

Input: Consider Input: ['Y', 7191, 'w', 'I', 2387, 3493, 'F', 9797, 4797, '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'p', 5525, 3953, 1931, 6723, 7597, 9781, 8621, 'f', 6959, 4341, 5543], [7099, 'h', 'm', 1247, 'F', 2321, 'G', 'c', 'a', 57, 7997, 'Y', '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'd', 'k', 3051, 647]

Output: 1075, i, 2867, 6269, X, 8729, u, X, g, 8731, L, 3791, I, 6677, x


Input: Consider 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]

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


Input: Consider Input: [1533, 'd', 'G', 9307, 'H', 'T', 505, 6437, 1249, 'R', 8573, 's', 6671, 3979, 'z', 'q', 1825, 4533, 'Q', 1053, 'D', 'H', '3855', 'Z', 'A', '3135', '8975', 'C', '7353', '4921', 'G', '7081', 'S', '9035', '8813', '4857', '3945', '3155', '6265', 'N', 'a', '697', 'l', '3685', '8669', '2417', 'x', 1287, 5341, 'L', 2371, 'n', 7671, 'b', 4883, 5911, 'i', 'U', 8205, 'a', 3747, 'n', 6563, 'a', 2661, 5559, 'n', 7577], ['p', 6333, 2619, 2667, 8241, 'V', 'v', 'M', 'D', 'H', '3855', 'Z', 'A', '3135', '8975', 'C', '7353', '4921', 'G', '7081', 'S', '9035', '8813', '4857', '3945', '3155', '6265', 'N', 'a', '697', 'l', '3685', '8669', '2417', 'F', 'F', 5571, 'm', 'B', 4651, 447, 'G', 'a', 5755, 'N', 'A', 'p', 'c', 'j', 5491, 'u', 'W', 'T', 'c', 9057, 'e']


Output: D, H, 3855, Z, A, 3135, 8975, C, 7353, 4921, G, 7081, S, 9035, 8813, 4857, 3945, 3155, 6265, N, a, 697, l, 3685, 8669, 2417