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

Input: Consider Input: ['S', 4895, 'h', 6721, 'W', 8371, 9167, 3811, 3237, 'U', 'x', 'R', 783, 6037, 9769, 6371, 8745, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'c', 'S', 'q', 4381, 7327, 'h', 'A', 'P', 't', 1021, 6667, 'X'], ['v', 'G', 8727, 7711, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'K', 2875, 467, 'x', 'S', 5845, 8137, 33, 'X', 3427, 'C', 9271, 'J']

Output: 7375, 7449, 3345, 8881, 2015, o, 3175, 3809, 2331, 2327, 3549, p, u, 263, 6767, 4499, 4279


Input: Consider Input: ['G', 'E', 'A', 'u', 'x', 'W', 'o', 'e', 'i', 'B', 3441, 'S', 8211, 'E', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'a', 9789, 4073, 'J', 'C', 8849, 6749, 'G', 5237, 9697, 1425, 'J', 5755], ['W', 'S', 'V', 'r', 'd', 'v', 7267, 7665, 'c', 3763, 'Z', 7427, 4575, 'D', 'q', 'U', '5913', '4807', '8365', 'v', '5383', 'V', 'M', 'i', 'I', 'J', '1475', '3385', 'r', '9983', 'U', 'i', 'z', 4797]

Output: 5913, 4807, 8365, v, 5383, V, M, i, I, J, 1475, 3385, r, 9983, U, i


Input: Consider Input: ['K', 'V', 'R', 'f', 'C', 'j', '7417', '8799', '749', 'p', '6133', 'E', '139', 'i', '1207', 'D', 't', 'z', 'g', 1569, 'd', 'G', 2067, 'Y', 3335], [655, 's', 2925, 'n', 'L', 'z', 7585, '7417', '8799', '749', 'p', '6133', 'E', '139', 'i', '1207', 'D', 't', 'z', 'N', 'J', 'B', 'Q', 'z', 'P']


Output: 7417, 8799, 749, p, 6133, E, 139, i, 1207, D, t, z