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

Input: Consider Input: [2647, 'D', 'q', 'P', 6067, 3591, 1081, 'T', 2835, 5797, 7213, 7679, 'W', 4661, 7889, 9677, 3313, 7233, 9121, 2061, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'a', 547, 657, 5609], ['o', 8055, 'b', 345, 'k', 1237, 'R', 'M', 2177, 'V', 3921, 'k', 'o', 'z', 7451, 27, 'F', 8073, 'v', 'u', '325', '8069', '4691', '9597', 'O', '8811', '6583', 'M', '4393', '1767', 'v', '2707', '4419', 'Q', 'a', '3885', '1795', '9599', 'e', 9767, 1391, 'Q']

Output: v, u, 325, 8069, 4691, 9597, O, 8811, 6583, M, 4393, 1767, v, 2707, 4419, Q, a, 3885, 1795, 9599


Input: Consider Input: [891, 1259, 'q', 9801, 3147, 1589, 'u', 'm', 'd', 21, 'm', 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'b', 7489, 'B', 'z', 'r'], [8553, 'f', 5473, 9933, 'i', 'L', 'Z', 'r', 1103, 'a', 'H', 9257, 1277, 5689, 6551, 8359, 9607, 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'i', 'E', 'V', 'S', 6121, 'q', 't', 'U', 1311, 'q', 3583, 7505, 265, 3415, 'j', 'w']

Output: E, a, K, N, 1387, t, w, c, F, 2369, 2875, P, B, J, 9801, j, 6919, y, 3757, e, R, 7811, x, t, 7071, W


Input: Consider Input: [1051, 'A', 4511, 'B', 125, 'y', 'R', 'R', 5563, '3767', '8675', '1105', 'X', 'X', '9611', '6969', 'K', 'F', '633', 'e', '4503', '6399', 'p', 'd', 'm', '5211', '6887', '6393', 'h', 'c', 'G', 'q', '4043', '9905', 'y', 'Y', '5945', 'K', 'Y', 'y', 'd', 4273, 6291, 4407, 7283, 's', 'h', 'N', 'M', 'k', 5207, 'A', 'a', 'd', 8295, 9217, 'r', 5453, 'D'], [2337, 'n', 2071, 'G', 5759, 'P', 'P', 6287, 'S', 'W', 1913, 'A', 'H', 'z', 5015, 1313, 6973, 'D', 'G', 'W', 6481, 'h', 4485, 'h', 'a', 'T', 'O', 7289, '3767', '8675', '1105', 'X', 'X', '9611', '6969', 'K', 'F', '633', 'e', '4503', '6399', 'p', 'd', 'm', '5211', '6887', '6393', 'h', 'c', 'G', 'q', '4043', '9905', 'y', 'Y', '5945', 'K', 'B', 's', 'f']


Output: 3767, 8675, 1105, X, X, 9611, 6969, K, F, 633, e, 4503, 6399, p, d, m, 5211, 6887, 6393, h, c, G, q, 4043, 9905, y, Y, 5945, K