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

Input: Consider Input: [2481, 7755, 2663, 2449, 4291, 'b', 5343, 'F', 'A', '3811', 'G', 'I', '415', '6825', '2449', 'q', 'W', 'x', 't', 'K', 'l', 539, 3959], ['W', 'N', 'K', 4351, '3811', 'G', 'I', '415', '6825', '2449', 'q', 'W', 'x', 'c', 9833]

Output: 3811, G, I, 415, 6825, 2449, q, W, x


Input: Consider Input: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']

Output: 5181, q, c, W, r


Input: Consider Input: ['I', 'a', 2201, 'J', 7141, 'M', 6675, 7209, 'W', 'j', 439, 6099, 5929, 6485, 't', 7775, 'a', 3091, 'X', 'i', 'T', 'M', '9643', 'K', 'R', 'N', 'C', 'K', '2177', '7037', '2661', '8165', 'g', 'Q', '3515', 'y', 'z', 'M', 'P', 'm', 'H', 'F', 19, 'w', 'Q', 4803, 3253, 'H', 'q', 2603, 'F', 1383, 's', 'N', 'T', 'l', 'S', 9565, 6509], ['E', 'l', 'b', 5653, 8325, 'D', 'W', 9427, 'H', 3323, 'x', 6239, 'r', 'T', 'M', '9643', 'K', 'R', 'N', 'C', 'K', '2177', '7037', '2661', '8165', 'g', 'Q', '3515', 'y', 'z', 'M', 'P', 'm', 'H', 'c', 3071, 6895]


Output: T, M, 9643, K, R, N, C, K, 2177, 7037, 2661, 8165, g, Q, 3515, y, z, M, P, m, H