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

Example Input: [4183, 'U', 7363, 'G', 'p', 'm', 5967, 7979, 'o', 6465, 1603, 'a', 'U', 539, 'V', 867, 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 'P', 1783], [4781, 4033, 'M', 'W', 4561, 'Z', 'z', '9291', '3659', 'X', '9869', 'S', '7001', '347', 'F', '1433', 'c', 'J', '6113', 'H', 'd', 'J', '8705', 's', 4093, 201, 'i', 'Y', 'S', 2227, 'C', 5375, 1627]
Example Output: z, 9291, 3659, X, 9869, S, 7001, 347, F, 1433, c, J, 6113, H, d, J, 8705

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: [1695, 't', 297, 'v', '7231', '4015', '5515', '4353', 'w', 'k', 'k', 'A', 'v'], [3619, 3091, 'v', '7231', '4015', '5515', '4353', 'j', 'O', 2769]
Example Output:
v, 7231, 4015, 5515, 4353