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

Example Input: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]
Example Output: I, 2495, 1015, L, 581

Example Input: ['M', 'u', 'N', 'y', 295, 3475, 9835, 'H', 4717, 1403, 'Y', 9997, 8009, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'w', 3597, 1163, 5869], ['v', 9877, 'x', 5367, 4285, 'B', 4389, 3125, 'J', 'u', 2261, 8063, 'W', 'l', 'I', 'y', 9779, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'P', 5999, 'u', 2261, 'd', 'n', 'N', 9087, 'P']
Example Output: g, p, 5225, 6819, 2091, 2855, 3637, 2009, v, c, r, 8173, H, o, N, F, 1483

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