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

Input: Consider Input: [6453, 7881, 'D', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'Y', 2235, 823, 'q', 'S', 'R', 'K', 2809, 'o', 7605, 'L', 'V', 'D', 'R'], [1195, 'n', 5253, 7139, 4463, 10023, 'O', 'Y', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'L', 4321, 3545, 'G', 'G', 'h']

Output: X, 9799, Z, 1711, P, L, E, 5039, 1161, n, 6077, 685, F, C


Input: Consider Input: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']

Output: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827


Input: Consider Input: [603, 'F', 'm', 4811, 4993, 'M', 'A', 3777, 7633, '1609', 'o', 'T', '487', 'B', '8257', '7751', '8513', '2943', 'C', '4121', 'G', '1845', 'j', 'u', 'E', '2777', '9675', '4755', '5831', '4395', '2205', '523', 'W', 'Q', '9437', '6757', 'G', 'F', '8537', 'C', 'X', 7563, 'c', 6599, 'F', 'd', 'n', 'T', 6863, 9697, 5085, 'l', 'x', 'g', 4701, 6343, 'C', 4129, 'N', 'y', 'R', 877, 'f', 'p', 413, 'R', 'r'], ['G', 2241, 1305, 5475, 7401, 2821, 1107, 8273, 'q', 'f', 8593, 687, 'V', 'p', 2531, 601, 4597, 'w', 'W', 5017, 'U', 'l', 9537, 'K', 'O', 6431, 3329, 'q', '1609', 'o', 'T', '487', 'B', '8257', '7751', '8513', '2943', 'C', '4121', 'G', '1845', 'j', 'u', 'E', '2777', '9675', '4755', '5831', '4395', '2205', '523', 'W', 'Q', '9437', '6757', 'G', 'F', '8537', 'x', 'e', 'W', 'e', 8507, 'R', 'j', 4253, 2505, 7949, 5645, 'S', 95, 4095, 'h', 'p', 9099, 'W', 'G', 8391, 'u', 10021, 'k', 'W', 'c']


Output: 1609, o, T, 487, B, 8257, 7751, 8513, 2943, C, 4121, G, 1845, j, u, E, 2777, 9675, 4755, 5831, 4395, 2205, 523, W, Q, 9437, 6757, G, F, 8537