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

Input: Consider Input: [1071, 'w', 3571, 'c', 3877, 't', 'H', 'U', 'C', 'Q', 'v', 'd', '9421', '3707', 'q', 'M', 'u', '7171', '8005', '9897', '4473', '6865', 'e', '4241', 'f', '9249', 'v', 'c', '6077', '1825', 'P', 'X', 'p', '5845', 'a', '7535', 'T', '2813', 'r', 'v', 10031, 'i', 'G', 't', 'K', 'c', 9299, 's', 6373], ['Z', 6069, 8247, 609, '9421', '3707', 'q', 'M', 'u', '7171', '8005', '9897', '4473', '6865', 'e', '4241', 'f', '9249', 'v', 'c', '6077', '1825', 'P', 'X', 'p', '5845', 'a', '7535', 'T', '2813', 'I', 'e', 'O', 1707, 7143, 'w', 'P', 'E', 7629, 6069, 'k', 3493, 'd', 'k', 4167, 'z', 3513, 'Y', 'g', 'K', 8501, 'n', 'Q', 6091]

Output: 9421, 3707, q, M, u, 7171, 8005, 9897, 4473, 6865, e, 4241, f, 9249, v, c, 6077, 1825, P, X, p, 5845, a, 7535, T, 2813


Input: Consider Input: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']

Output: 6533, o, 47, 6333


Input: Consider Input: ['h', 9019, '2031', 'E', 'y', 'A', '1173', 'M', 4967, 'r'], ['l', 'H', 4237, '2031', 'E', 'y', 'A', '1173', 'E', 'q', 5693]


Output: 2031, E, y, A, 1173