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

Input: Consider Input: ['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]

Output: 4923, 9161, 4031, 7443, f


Input: Consider Input: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]

Output: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R


Input: Consider Input: [4413, 8541, 'y', 1155, 1855, 7237, 2307, 7603, 'B', 'N', 3137, 615, 7973, 'F', 'O', '1303', 'n', 'a', '8835', '5697', 'l', '6407', '6685', '5411', 'q', '6219', '4013', 'z', 'G', '7919', 'A', 'B', '3741', '3763', 'e', 'r', 4015, 3585, 'u', 2909, 5929, 'K', 'P', 6609, 'Y', 8491, 'P', 1889, 6529, 8475, 2937], [7855, 'V', 8283, 'P', 'H', 5731, 1725, 2197, 8823, 2263, 949, 'k', 'Y', 'v', 8027, 9435, 6119, 'j', 8449, 'P', 1793, 'O', '1303', 'n', 'a', '8835', '5697', 'l', '6407', '6685', '5411', 'q', '6219', '4013', 'z', 'G', '7919', 'A', 'B', '3741', '3763', 'e', 'b', 'a', 'c', 4189, 141, 't', 8403, 2309, 8967, 'J', 'n', 2561, 'D', 5335]


Output: O, 1303, n, a, 8835, 5697, l, 6407, 6685, 5411, q, 6219, 4013, z, G, 7919, A, B, 3741, 3763, e