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

Input: Consider Input: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]

Output: 7171, I, m, 3035


Input: Consider Input: [5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]

Output: I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693


Input: Consider Input: [6423, 'w', 'K', 'm', 'S', 'X', '8857', 'r', '9809', 'a', 'g', '7297', 'H', 'Q', 'W', 'I', 'm', '3277', 'm', 'W', 'L', 'H', 'S', 'X', 'y', 2479, 'p', 'B', 7193, 8327, 'X', 8547, 2261, 'X', 477, 535, 'w', 'f', 2923], [5389, 6751, 'F', 'l', 9579, 'A', 'S', 'X', '8857', 'r', '9809', 'a', 'g', '7297', 'H', 'Q', 'W', 'I', 'm', '3277', 'm', 'W', 'L', 'H', 'O', 't', 8821, 'H', 3919, 7667, 'x', 'v', 4035, 3179, 9235, 5679, 'c', 'P']


Output: S, X, 8857, r, 9809, a, g, 7297, H, Q, W, I, m, 3277, m, W, L, H