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

Input: Consider Input: ['t', 7533, 7349, 'a', 2529, 'O', 2575, 6661, 6673, 'E', '9183', '7823', 'a', '9601', '3167', '7973', 't', 'B', 'T', 'k', 'z', 'J', 'M', 'Z', 'd', 'S', 181, 'G', 'C', 2881, 'a'], ['g', 3651, 3051, 7741, 'r', 5683, 'J', 'A', 's', 'D', 'y', 'R', '9183', '7823', 'a', '9601', '3167', '7973', 't', 'B', 'T', 'k', 'z', 'J', 'M', 'e', 'x', 'A', 1469, 'v', 5763, 'f', 'g']

Output: 9183, 7823, a, 9601, 3167, 7973, t, B, T, k, z, J, M


Input: Consider Input: ['G', 'T', 'D', 'j', 'g', 'w', 'n', 'D', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'v', 693, 'f', 'J', 'f', 10007, 'o', 863, 'o', 'Z', 'd', 'Q'], [8181, 693, 's', 'V', 'V', '8209', '9691', '6551', 'N', '4913', '471', '9355', 'b', 'w', '4505', '6427', 'P', '5957', 'w', 4477, 'd', 1717, 525, 7147, 'g', 6803, 'j', 8033, 'Y', 't', 5059, 4371]

Output: V, 8209, 9691, 6551, N, 4913, 471, 9355, b, w, 4505, 6427, P, 5957


Input: Consider Input: ['m', 6857, 's', 'Q', 'n', 'V', 'f', 4913], [6729, 201, 9159, 's', 'Q', 'n', 'K', 'V', 'e']


Output: s, Q, n