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

Input: Consider Input: ['t', 'W', 'i', 't', 4163, 'd', 'k', 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'T', 6267, 5627, 'u', 'g', 'F', 3861], ['f', 'g', 'N', 'I', 'C', 4633, 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'A', 'K', 1819, 3343, 8603, 'h', 1751, 'h']

Output: Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879


Input: Consider Input: ['c', 3869, 'X', 9543, 'y', 3435, 'k', 'L', 9191, 'C', 'X', 'U', 'w', 'z', 'y', '6225', 's', '1927', '1777', 'N', '8311', 'B', 'q', 'r', '4829', 'r', '5909', 'e', 'G', 'J', '9631', 'V', 'b', 'G', 'g', 'g', 5369, 7691], ['Z', 'i', 'X', 'U', 'w', 'z', 'y', '6225', 's', '1927', '1777', 'N', '8311', 'B', 'q', 'r', '4829', 'r', '5909', 'e', 'G', 'J', '9631', 'o', 2079, 1461, 633, 3253, 8295, 3637, 'q', 'r', 8737, 'i']

Output: X, U, w, z, y, 6225, s, 1927, 1777, N, 8311, B, q, r, 4829, r, 5909, e, G, J, 9631


Input: Consider Input: [2347, 'S', 7561, 'W', 'D', 'y', '2665', '4447', '8619', 'V', '2195', 'u', '8857', '5881', '3357', '8779', 'J', 7319, 'p', 'g'], ['S', 'l', 7629, 'K', 4085, '2665', '4447', '8619', 'V', '2195', 'u', '8857', '5881', '3357', '8779', 'm', 'V', 'V', 6949, 8495, 'y']


Output: 2665, 4447, 8619, V, 2195, u, 8857, 5881, 3357, 8779