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

Input: Consider Input: ['X', 'g', 1961, 's', 'N', 'H', 8085, 'w', 'h', 'S', 6705, 2907, 6295, '3755', 'U', 'k', '2271', 'v', 'r', '1913', 'J', '4159', 'd', 'L', '9407', 'p', '7047', '7119', 'E', 'C', '1165', '4681', '6401', '2333', '6013', 'n', 'w', '2253', 's', 'R', 3053, 4943, 'H', 'y', 7787, 7133, 'r', 'Z', 4113, 967, 2367], ['o', 'M', 'P', 'L', 3621, 'l', 9131, 'M', 'p', 5217, 'Q', 4797, 2393, 'n', 9165, 'S', 2295, 'c', 313, 't', 'M', 'k', 'R', 445, 'X', 'k', '3755', 'U', 'k', '2271', 'v', 'r', '1913', 'J', '4159', 'd', 'L', '9407', 'p', '7047', '7119', 'E', 'C', '1165', '4681', '6401', '2333', '6013', 'n', 'w', '2253', 's', 'V', 5537, 'Q', 8151, 791, 9305, 5513, 1725, 9821, 8625, 6881, 937, 'm', 'r', 'l', 'f', 'W', 4995]

Output: 3755, U, k, 2271, v, r, 1913, J, 4159, d, L, 9407, p, 7047, 7119, E, C, 1165, 4681, 6401, 2333, 6013, n, w, 2253, s


Input: Consider Input: [1001, 9417, '7135', 'q', 'C', '1417', 'x', '2263', 'F', 539, 5643, 1153, 5893, 'f'], [7791, 6635, 401, '7135', 'q', 'C', '1417', 'x', '2263', 'X', 8455]

Output: 7135, q, C, 1417, x, 2263


Input: Consider Input: [6537, 'x', 'n', 6569, 'f', 9, 'u', 'P', '9609', 'c', 'J', '5487', 'v', '3149', '7071', '9043', 'u', 'L', '6989', '3401', 'z', '8473', 'V', 'O', 'p', 6661, 'y', 'K', 7703, 'm', 6049], ['G', 5713, 9915, 'm', 'o', 'D', 8907, 7583, 'E', 6155, 'T', 'V', 'S', 8737, 5705, 'u', 'P', '9609', 'c', 'J', '5487', 'v', '3149', '7071', '9043', 'u', 'L', '6989', '3401', 'z', '8473', 'V', 'O', 't', 4995, 'Y', 'm', 'S', 'y', 'g', 'a', 5015, 8087, 7493, 5749, 8903, 4269, 'D', 'z', 2571, 529]


Output: u, P, 9609, c, J, 5487, v, 3149, 7071, 9043, u, L, 6989, 3401, z, 8473, V, O