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

Example Input: [9677, 4817, 5889, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 'r', 5945, 2503, 9765, 8527], [1659, 'z', 7571, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 's', 'f', 7387, 4583, 4393, 'o', 8185, 'Y', 3513]
Example Output: w, 9447, A, g, 4241, l, 6431, v, r, 1925, 1007, 8177, 5627, 7383, 691, Z, 7593

Example Input: ['Q', 4345, 'U', 6921, 'y', 57, 8287, 8385, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'X', 'V', 2801], [3259, 'S', 'e', 'n', 'c', 'B', 'O', 217, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'j', 'I', 5767, 'X', 8283, 8895, 'd', 8329]
Example Output: O, 3359, S, 7355, 2263, d, d, i, t, E

Example Input: ['R', 'I', 9119, 'C', 2169, 'B', '713', '1077', '717', 'F', '9639', '2371', 'T', 'D', 'i', 'L', 425, 5365, 'X', 4179, 6055], [3235, 'B', 'Q', '713', '1077', '717', 'F', '9639', '2371', 'T', 'D', 'r', 6003]
Example Output:
713, 1077, 717, F, 9639, 2371, T, D