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

Input: Consider Input: ['O', 'k', 'E', 281, 'J', 'J', 'z', 9541, 'K', 'Y', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'b', 'd'], [3187, 1933, 'u', 'E', 'Y', 2413, 'W', 'f', 'V', 9713, 4903, 'f', 'G', 's', 'J', 'h', 'o', '2303', '603', 'M', '5785', '7949', 'P', '9685', 'd', '801', '5021', '479', 'd', 'A', '1609', 'T', 'i', 5937, 'j', 1943, 'N', 9789, 'p', 3693, 2243, 9701, 6051, 6437, 'K', 4251, 5597, 'A', 'O', 'Y', 'P', 2435]

Output: G, s, J, h, o, 2303, 603, M, 5785, 7949, P, 9685, d, 801, 5021, 479, d, A, 1609, T


Input: Consider Input: ['P', 8059, 'A', 385, 't', 1999, 269, 'T', 'B', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'K', 6409, 'W', 'h', 9673, 1829, 'K', 'A'], [1099, 1609, 'q', 9603, 'B', 3251, 'o', 'x', 1197, 'O', 'u', 't', 'K', 'c', 1185, 'l', 'v', 'e', 'q', 9255, 'u', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'V', 6939]

Output: S, 5291, b, x, o, 7813, R, D, 1301, 2079, H, 3587, 1325, 8977, 5565, u, v, D, I, 6267, H, 6663, I, B, f, 2383


Input: Consider Input: ['a', 'l', 2975, 4779, 6787, 5031, 'd', 'c', 'y', 'M', '1795', '6857', '6487', 'h', 8995, 'D', 'J'], ['U', 'K', 'x', 1175, 'P', 'd', 'c', 'y', 'M', '1795', '6857', '6487', 'F', 'u', 2675, 4959]


Output: d, c, y, M, 1795, 6857, 6487