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

Input: Consider Input: [3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']

Output: Q, J, c, 3205, 2707, 1869, 1285, z, c

Input: Consider Input: [6453, 7881, 'D', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'Y', 2235, 823, 'q', 'S', 'R', 'K', 2809, 'o', 7605, 'L', 'V', 'D', 'R'], [1195, 'n', 5253, 7139, 4463, 10023, 'O', 'Y', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'L', 4321, 3545, 'G', 'G', 'h']

Output: X, 9799, Z, 1711, P, L, E, 5039, 1161, n, 6077, 685, F, C

Input: Consider Input: [7451, 8939, 'i', 'C', 'o', 'i', 'q', 'I', 'h', 5669, 6103, 8179, 1815, 'P', 'G', 5921, 'X', 'p', 'f', 8153, 321, 8425, '1863', 'U', 'g', 'W', '8207', '7437', 'F', 'C', '9519', 'i', 'J', '1277', 'e', '2279', '8771', '731', '339', '1659', '5989', 'j', 'p', 'v', '59', 'b', 'X', '9445', '1419', '9803', '1361', 'Q', 'A', 3807, 'Q', 1953, 7207, 'j', 7843, 'O', 'S', 'k', 'N', 'T', 'K', 9911, 1837, 'b', 6729, 'H', 5837, 'N', 'a', 'x', 8677], [8379, 655, 6697, 'D', 'e', 'y', 'u', 'n', 9099, 'j', 4487, 'S', 'P', 2587, 'S', 'L', 'X', 'p', 6397, 3813, 'u', 5295, 'z', 'R', 'k', '1863', 'U', 'g', 'W', '8207', '7437', 'F', 'C', '9519', 'i', 'J', '1277', 'e', '2279', '8771', '731', '339', '1659', '5989', 'j', 'p', 'v', '59', 'b', 'X', '9445', '1419', '9803', '1361', 'r', 'k', 425, 7499, 161, 9015, 2573, 3605, 'P', 8881, 'h', 6559, 'l', 399]
Output: 1863, U, g, W, 8207, 7437, F, C, 9519, i, J, 1277, e, 2279, 8771, 731, 339, 1659, 5989, j, p, v, 59, b, X, 9445, 1419, 9803, 1361