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

Example Input: ['C', 'd', 'U', 'O', 'X', 'Q', 75, 'n', '1745', '4477', '5381', 'S', 'G', '257', 'Q', '2891', 'e', 'U'], ['G', 'H', 7457, 'N', '1745', '4477', '5381', 'S', 'G', '257', 'Q', '2891', 'G', 'x', 'm', 865, 9285, 1495, 'l', 'J']
Example Output: 1745, 4477, 5381, S, G, 257, Q, 2891

Example Input: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]
Example Output: 9525, B, o

Example Input: ['p', 5207, 9433, 6173, 'y', 123, 'y', 'Z', 'N', 'z', 'j', 2061, 'b', 'w', 'Z', 965, 'Z', 'f', 'x', 'E', '3367', 'c', 'N', 'j', 'F', '4611', 'I', '3993', '9709', 'J', '989', '3431', 'f', '8979', '3559', 'f', 'j', 'd', 'M', 'd', '2187', '2917', 'S', 'M', '8637', 'U', 8661, 't', 6761, 'u', 'v', 'E', 'N', 6367, 5485, 2451, 'T', 7821, 'v', 4119, 6575, 'E', 'w', 1829, 'M', 'p', 'i', 'v', 6369, 541], [3891, 'V', 6315, 'o', 701, 'Z', 'f', 'x', 'E', '3367', 'c', 'N', 'j', 'F', '4611', 'I', '3993', '9709', 'J', '989', '3431', 'f', '8979', '3559', 'f', 'j', 'd', 'M', 'd', '2187', '2917', 'S', 'M', '8637', 'b', 'B', 6461, 'W', 7999, 4943, 6613, 'M', 'j', 'Q', 'k', 'd', 7941, 1153, 'P', 2237]
Example Output:
Z, f, x, E, 3367, c, N, j, F, 4611, I, 3993, 9709, J, 989, 3431, f, 8979, 3559, f, j, d, M, d, 2187, 2917, S, M, 8637