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

Example Input: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]
Example Output: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189

Example Input: ['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]
Example Output: 4923, 9161, 4031, 7443, f

Example Input: ['i', 'P', 3057, 'u', 963, 'o', 6531, 'M', 6309, '7415', '9263', '6727', 'e', '7387', 'N', 'J', 'L', 'm', 'x', 'v', '7413', 'k', '3243', '1033', 'M', '9853', 'd', '3371', '165', '6457', 'I', 'h', 'N', 2615, 'C', 4709, 7615], [7309, 6331, 'B', 'G', 'P', 1333, 3481, 9247, 'a', 2567, 't', 'V', 'z', 3909, '7415', '9263', '6727', 'e', '7387', 'N', 'J', 'L', 'm', 'x', 'v', '7413', 'k', '3243', '1033', 'M', '9853', 'd', '3371', '165', '6457', 'I', 'v', 3167, 'A', 2565, 3723, 'n', 'C', 'c', 9825, 'J', 's', 'b', 'R']
Example Output:
7415, 9263, 6727, e, 7387, N, J, L, m, x, v, 7413, k, 3243, 1033, M, 9853, d, 3371, 165, 6457, I