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

Example Input: ['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']
Example Output: R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X

Example Input: ['X', 'j', 'Y', 4541, 7639, 'm', 'K', 305, 6733, 5077, 'S', 'S', '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'j', 'P', 'x', 'r', 'K', 'C', 'R', 'k', 985, 1029, 't', 'c', 3835], [8563, 'b', 'D', 8893, 3193, 1043, 5807, 7563, '6005', 'v', '5903', '4231', 'z', 'p', '7235', 'w', '3597', '979', '3071', '3945', '8645', '8455', '9083', '8905', '999', '111', 'N', 'H', '2777', 'e', '9415', 'j', 'Q', '2679', 'w', 'g', '9581', '6053', 'z', 'S', 6681, 8187, 7139, 5221, 9683, 7271, 'c', 419, 'i']
Example Output: 6005, v, 5903, 4231, z, p, 7235, w, 3597, 979, 3071, 3945, 8645, 8455, 9083, 8905, 999, 111, N, H, 2777, e, 9415, j, Q, 2679, w, g, 9581, 6053

Example Input: [1361, 2195, 3535, 2985, 1747, 7805, 'c', 'U', 'y', 'k', 'A', 6939, 'l', 'H', 8719, 8911, 'D', 'o', 'm', '2193', '1645', 'q', '3043', 'G', 'J', 'N', 'a', '2331', '2647', '91', 'y', '9295', 'i', 'R', '4695', '1149', '9263', 'b', '1555', '9473', 'I', 'n', 'm', 6973, 'l', 3447, 7009, 6529, 'H', 7275, 'S', 'X', 'w', 'e', 'U', 6183, 1423, 5053], [6425, 'K', 'F', 5769, '2193', '1645', 'q', '3043', 'G', 'J', 'N', 'a', '2331', '2647', '91', 'y', '9295', 'i', 'R', '4695', '1149', '9263', 'b', '1555', '9473', 'I', 'D', 'N', 107, 'j', 1965, 4797]
Example Output:
2193, 1645, q, 3043, G, J, N, a, 2331, 2647, 91, y, 9295, i, R, 4695, 1149, 9263, b, 1555, 9473, I