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

Example Input: ['C', 'a', 5955, 5411, 'a', 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 'e', 'R', 'A', 'R', 5893, 't', 5495, 2381, 2823, 't', 'c', 'k', 9259, 4655, 8337, 8027, 'D', 7767, 'F'], ['V', 'w', 'x', 'p', 'N', 4045, 'h', 'h', 2607, 6243, 'F', 8575, 7799, 5463, 'N', 'j', 5469, 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 's', 9037, 'F', 'a', 'S', 9619, 8457, 'o', 8497, 675, 'B', 't', 'Y', 'x', 'x', 'K', 9773]
Example Output: x, 9177, 1943, P, 7863, 6755, o, 5373, 2989, g, A, a, J, B, 8111, u, x, 4477, N, f, 4307, e, 3095

Example 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']
Example Output: 7375, 7449, 3345, 8881, 2015, o, 3175, 3809, 2331, 2327, 3549, p, u, 263, 6767, 4499, 4279

Example Input: [2403, 1927, 6845, 'c', 463, 'U', 'W', 'N', '761', '4729', '6595', 'v', 'B', '4273', '6837', 'j', 'w', '4735', '3409', 'b', 'Y', 'x', 7459, 't'], ['B', 2065, 121, 'W', 'p', 5519, 7831, '761', '4729', '6595', 'v', 'B', '4273', '6837', 'j', 'w', '4735', '3409', 'N', 185]
Example Output:
761, 4729, 6595, v, B, 4273, 6837, j, w, 4735, 3409