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

Example Input: ['w', 3897, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'P', 'C', 'z', 5141, 1751, 6731, 'r'], ['B', 8071, 703, 'G', 885, 'Z', 2391, 1749, 4177, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'D', 8751, 'y', 2941]
Example Output: U, a, 455, 6499, 8975, 9003, O, j, T

Example Input: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']
Example Output: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z

Example Input: [8671, 'D', 't', 7655, 8735, 'S', 10013, '3975', '9575', 'd', 'H', '7327', 'k', '8265', 't', 'z', '4269', 'e', 'l', '6939', 'P', '2547', '2125', 'M', 'd', 'y', 'z', 'Q', '6151', 'A', 'X', 's', 'W', 8449, 'C', 'z', 2057, 'T', 2991, 1103, 'e', 9613, 'R', 3369, 'q', 'E'], ['G', 'v', 6899, 3135, 'P', 2435, 'l', 1959, 6489, 'Y', 8965, 'Q', 4151, 'S', 7075, 'S', 6351, '3975', '9575', 'd', 'H', '7327', 'k', '8265', 't', 'z', '4269', 'e', 'l', '6939', 'P', '2547', '2125', 'M', 'd', 'y', 'z', 'Q', '6151', 'S', 'a', 35]
Example Output:
3975, 9575, d, H, 7327, k, 8265, t, z, 4269, e, l, 6939, P, 2547, 2125, M, d, y, z, Q, 6151