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: [9093, 3879, 'g', 'L', 'h', 'T', 'w', 'w', 'H', 'P', 1709, 'm', 'C'], ['G', 'h', 'L', 'h', 'T', 'w', 'w', 'Z', 'R', 3525, 'g', 8463]

Output: L, h, T, w, w


Input: Consider Input: [9535, 'R', 2959, 'k', '4869', '8299', 'I', 'D', 'K', 'G'], ['v', 8155, 'k', '4869', '8299', 'I', 'D', 'M', 9657, 't']


Output: k, 4869, 8299, I, D