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

Example Input: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]
Example Output: 2891, 7537

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: ['O', 8563, 'e', 'H', 3297, '8979', '4469', 'A', 'P', 'x', '5547', '7223', 'T', '3891', 'p', 'q', 4171, 1319, 'O'], [1827, 9807, 'Y', 1647, 'h', '8979', '4469', 'A', 'P', 'x', '5547', '7223', 'T', '3891', 'p', 'T', 5331, 'i', 8667, 8735, 'p', 5419, 'e', 8949, 8139]
Example Output:
8979, 4469, A, P, x, 5547, 7223, T, 3891, p