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

Input: Consider Input: [6123, 'S', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'E', 't', 7923, 'F', 7937, 'n', 'J', 6811, 'o', 985, 3321, 't', 'k', 1817, 2563, 'a', 'l', 'i', 6063, 4935, 'S'], [8811, 'o', 6787, 'Z', 'm', 6351, 'M', 'B', 'Q', '9109', '8921', 'a', '8063', '485', '6043', '5895', 'B', '2463', 'Y', 'e', 'J', 'f', 'A', '2055', 'V', 't', 'L', 'E', 'i', '5983', 'h', '8721', 'q', 'f', 'q', 9801, 'E', 'Q', 8995, 'r', 3495, 5973, 'g', 'L', 127, 8625, 1555, 'j', 1373, 'm', 1169]

Output: 9109, 8921, a, 8063, 485, 6043, 5895, B, 2463, Y, e, J, f, A, 2055, V, t, L, E, i, 5983, h, 8721


Input: Consider Input: ['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']

Output: e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B


Input: Consider Input: ['p', 6169, 'O', 'y', 'E', 5085, 7829, 'B', 'u', 'G', 'A', 'o', '1499', '9847', '815', 's', 'x', 'y', 'E', '4077', 'd', 'M', 'A', 6639, 205, 'C', 9033, 'k', 1453, 6259, 3595], [629, 1417, 5649, 1131, 2953, 5571, 4631, 1597, 'O', 'u', 'G', 'A', 'o', '1499', '9847', '815', 's', 'x', 'y', 'E', '4077', 'd', 'M', 'e', 6133, 'e', 'x', 8699, 'k', 2037, 'M']


Output: u, G, A, o, 1499, 9847, 815, s, x, y, E, 4077, d, M