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

Example Input: ['p', 'Z', 'Z', 5929, 7441, 'g', 7897, 'p', 4341, 'F', 'c', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'F', 2669, 3809, 645, 6921, 'R', 9767, 'h', 'J', 7893, 'h'], [937, 'a', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'Z', 'q', 'u', 6333, 5793, 'a', 783, 'K', 'R']
Example Output: i, 1227, p, 6197, M, 3549, G, 11, 7667, T, 7819, T, 8965, 4725, R, Q, 4873, 4701

Example Input: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]
Example Output: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689

Example Input: ['Q', 'N', 'm', 'L', 2015, 'W', 'D', 'd', 'c', 'Q', 'I', 'N', 'W', 'j', 'A', 6921, 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'V', 'E', 'V', 6753, 'z', 2281, 'Y', 7397, 115, 3973, 8083, 6475, 'L', 'z', 5969, 3581, 'm', 3171, 3211], ['R', 5629, 'k', 3959, 'R', 'O', 'U', 'V', 'N', 'o', 3345, 'P', 4317, 'M', 'g', 8331, 'v', 'T', 'R', 'Y', 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'r', 'u', 9505, 3363, 4823, 'w', 'i', 'B', 'Q', 'Y', 'H', 'R', 2991, 's', 'U', 5579, 'C', 'F', 'E', 'j', 'P']
Example Output:
X, H, N, l, U, p, 4397, X, 1559, 167, i, 8689, 9273, J, r, a, K, 5511, R, z, T, f