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

Input: Consider 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']

Output: X, H, N, l, U, p, 4397, X, 1559, 167, i, 8689, 9273, J, r, a, K, 5511, R, z, T, f


Input: Consider Input: ['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]

Output: 9169, 1575, 5233, 1749, 5739


Input: Consider Input: ['W', 445, 'S', 'r', 'd', 'X', 'v', 'F', 'N', 3151, 9467, 'K', '7085', '7281', '5557', '8067', '4661', '869', '9535', '8095', '7743', 'k', '7569', '3229', 'F', 'Y', 'V', '761', 'V', 'h', 'S', 'T', 665, 'Y', 3741, 'b', 6527, 3107, 3779, 845], [4145, 'm', 7285, 8607, 7681, '7085', '7281', '5557', '8067', '4661', '869', '9535', '8095', '7743', 'k', '7569', '3229', 'F', 'Y', 'V', '761', 'V', 'h', 'o', 'U']


Output: 7085, 7281, 5557, 8067, 4661, 869, 9535, 8095, 7743, k, 7569, 3229, F, Y, V, 761, V, h