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: [7299, 'v', 7279, 'o', 2589, 'K', '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'f', 1935, 'V', 9979, 3301, 'Z', 'J', 521, 871, 'Z', 'R', 7831, 'T', 'h', 3231, 'e', 2391], [7491, 'k', 4137, 'P', 'F', 8159, 'x', 6363, 2449, 7479, 6825, 7107, 'I', 2931, 7047, 9149, '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'g', 7147, 2657, 'Z', 'a', 503]

Output: 4943, 9427, 7945, 7645, 1709, 6515, 2249, l, n, f, 1935, e, f, 2977, 8835, p, 7753, U, 295


Input: Consider Input: [973, 179, 9695, 'i', 3017, 2763, 'Z', 1395, 'f', 1671, '7337', 'G', '7113', 't', 'X', 'N', '9665', 'e', 'W', '7787', 'P', 'T', 'D', 'K', 2737, 'i', 3225, 4413, 9661, 8977, 'N'], ['a', 'N', 'T', '7337', 'G', '7113', 't', 'X', 'N', '9665', 'e', 'W', '7787', 'P', 'T', 'D', 'U', 4011, 3881, 'u', 'S']


Output: 7337, G, 7113, t, X, N, 9665, e, W, 7787, P, T, D