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

Example 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]
Example 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

Example Input: [605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']
Example Output: 7897, 5823, P, 9001, J

Example Input: ['O', 4663, 'j', 7561, 'T', 'Q', 143, '7857', 'd', 'M', '8113', 'k', '2743', '6313', 'a', 'Q', 'N', 393, 8809, 145], [10001, 919, 845, 9093, 'z', '7857', 'd', 'M', '8113', 'k', '2743', '6313', 'a', 'm', 7771]
Example Output:
7857, d, M, 8113, k, 2743, 6313, a