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

Input: Consider Input: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

Output: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D


Input: Consider Input: [7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']

Output: v, 4045, F, O, N, k, 6013


Input: Consider Input: ['J', 'U', 9487, 'Z', 3029, 8865, 6545, 9623, 'I', 'B', 8159, 9047, 9813, '5735', 'F', '6937', '367', '8059', 'w', '8151', 'Q', 'L', '285', '645', '8329', '2151', 'F', '2787', '2611', '1919', '5385', '7745', '5127', '8417', '6797', '3103', '4713', 'Y', 'y', '953', '5995', '3905', '4277', 'p', 3157, 8693, 'n', 9565, 'L', 'e', 2479, 9489, 'W', 585, 5201, 1459, 'C', 'M', 5145, 6215, 6585, 'l', 893, 't', 's', 'B', 2057, 255, 4387, 887], [691, 165, 2881, 8187, 'h', 'M', 's', '5735', 'F', '6937', '367', '8059', 'w', '8151', 'Q', 'L', '285', '645', '8329', '2151', 'F', '2787', '2611', '1919', '5385', '7745', '5127', '8417', '6797', '3103', '4713', 'Y', 'y', '953', '5995', '3905', '4277', 'U', 1951, 8989, 3331, 'd', 1313, 'g', 9859, 'v']


Output: 5735, F, 6937, 367, 8059, w, 8151, Q, L, 285, 645, 8329, 2151, F, 2787, 2611, 1919, 5385, 7745, 5127, 8417, 6797, 3103, 4713, Y, y, 953, 5995, 3905, 4277