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: ['N', 7229, '4831', 'P', 'E', 7925], [3857, 'C', '4831', 'P', 'g', 'p']
Example Output: 4831, P

Example Input: ['K', 'e', 9865, 'D', '5065', 'g', 'h', '341', 'N', '5409', 'D', 'J', 'a', 3049, 'H'], ['T', 'e', 2817, 'g', 6559, 'D', '5065', 'g', 'h', '341', 'N', '5409', 'D', 'J', 'v', 'O', 8337, 8231, 2051, 9647, 7955]
Example Output:
D, 5065, g, h, 341, N, 5409, D, J