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

Input: Consider Input: ['w', 'i', 5729, 'G', 8651, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'R', 'A', 5949, 8347, 9169, 'N', 9753, 4353, 9447, 5747, 4347, 'f', 8247, 'D', 'y'], ['b', 'd', 237, 'y', 9735, 'M', 'j', 'f', 9789, 'x', 4217, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'E', 'e', 4021, 7065, 1651, 'n']

Output: 1845, a, 715, O, 3649, w, 8821, 2545, 1011, u, 895, 4133, n, 3759, w, X


Input: Consider Input: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]

Output: I, 2495, 1015, L, 581


Input: Consider Input: ['g', 'I', 'S', 'c', 's', 5103, 'a', 's', 1279, 5241, 'Y', 6639, 'N', 8461, 'h', '7279', 'n', '3313', 'v', 'u', 'y', 'X', '4005', 'Z', 'n', '6683', 'e', '8357', 'X', 'O', 'x', 'R', 'I', 9419, 3585, 'a', 5211, 5983, 'S', 'y', 'C'], ['j', 1377, 'N', 2305, 'G', 'C', 2985, 'R', 'f', 'h', '7279', 'n', '3313', 'v', 'u', 'y', 'X', '4005', 'Z', 'n', '6683', 'e', '8357', 'v', 5539, 8905]


Output: h, 7279, n, 3313, v, u, y, X, 4005, Z, n, 6683, e, 8357