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

Example Input: ['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']
Example Output: e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B

Example Input: ['G', 'T', 'D', 'j', 'g', 'w', 'n', 'D', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'v', 693, 'f', 'J', 'f', 10007, 'o', 863, 'o', 'Z', 'd', 'Q'], [8181, 693, 's', 'V', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'w', 4477, 'd', 1717, 525, 7147, 'g', 6803, 'j', 8033, 'Y', 't', 5059, 4371]
Example Output: V, 8209, 9691, 6551, N, 4913, 471, 9355, b, w, 4505, 6427, P, 5957

Example Input: [7671, 'U', 4215, 6051, 4033, 's', 'L', '6339', 'M', 'P', 'a', '8721', 'i', 3237, 'k', 895, 'L'], ['o', 9081, 6601, 't', 'L', '6339', 'M', 'P', 'a', '8721', 'Z', 'N', 'D', 6399, 1379]
Example Output:
L, 6339, M, P, a, 8721