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

Example Input: ['U', 2021, 9935, '873', 'T', '9883', 'y', 8789, 'v'], ['g', 7321, '873', 'T', '9883', 'p', 9721]
Example Output: 873, T, 9883

Example Input: [3759, 7101, '5609', '5115', '6103', '3685', '3055', '4987', '3865', '2369', '5093', '9485', '119', 's', 1947, 4631, 855, 'b', 7601, 9341, 'n', 'S', 'w', 'U'], ['E', 'S', 'M', '5609', '5115', '6103', '3685', '3055', '4987', '3865', '2369', '5093', '9485', '119', 'L', 4431, 4213]
Example Output: 5609, 5115, 6103, 3685, 3055, 4987, 3865, 2369, 5093, 9485, 119

Example Input: [6699, 8245, 2655, 'u', 'p', 'p', 5695, 'n', 'B', 4695, 'z', 'j', 'G', 9829, 'x', 4415, 'n', 'C', 'I', 4473, 1413, 'U', 'd', '2767', '9385', '9449', 'M', '4993', 'f', '6123', 'P', '9857', '9741', '3399', 'X', '9827', '7981', 'e', '5253', '3113', '233', '6503', 'F', 'L', 'R', 'b', 'z', 'o', 9993, 'b', 1423, 6027, 2259, 'B', 1793, 'X', 'N', 'G', 'j', 3847, 8289, 'x', 141, 'd', 7433, 865, 8931, 'X', 'B', 'w', 6215], [9, 9053, 'U', 'd', '2767', '9385', '9449', 'M', '4993', 'f', '6123', 'P', '9857', '9741', '3399', 'X', '9827', '7981', 'e', '5253', '3113', '233', '6503', 'F', 'L', 'R', 'b', 'g', 'r', 7675]
Example Output:
U, d, 2767, 9385, 9449, M, 4993, f, 6123, P, 9857, 9741, 3399, X, 9827, 7981, e, 5253, 3113, 233, 6503, F, L, R, b