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: [9605, 301, 3815, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'a', 'T', 'w', 7419, 1721, 3853, 5703], ['J', 1425, 3627, 3619, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'Y', 'R', 4039, 'y']

Output: 3555, 8399, 2421, 6579, I, g, s

Input: Consider Input: ['l', 6817, 'G', 3995, 6097, 671, 6515, 'l', 9431, 'f', 'd', 'V', 'R', 1157, 2615, 'e', 9475, 6407, 'Y', 's', 'R', 'L', 'k', '9657', '2833', 'M', '9947', 'a', '6445', '1379', '949', '2579', '1179', 'n', '7809', '5051', 'd', '6765', 'm', '821', '9863', '9623', '8883', '8537', 'x', 'W', 'i', 'i', 5261, 'w', 'M', 'C', 4631, 'i', 5287, 6657, 'W', 251, 'Y', 'j'], ['R', 1845, 'U', 1173, 3165, 4753, 3813, 9565, 'N', 'Y', 2027, '9657', '2833', 'M', '9947', 'a', '6445', '1379', '949', '2579', '1179', 'n', '7809', '5051', 'd', '6765', 'm', '821', '9863', '9623', '8883', '8537', 'x', 'W', 'i', 'm', 'q', 883, 7285, 'S', 477, 'N', 7749, 'T', 4667, 4753, 2045, 5619, 9927, 'w', 'I', 'f', 7363, 1175, 'i', 6291, 'w', 'h', 'z']
Output: 9657, 2833, M, 9947, a, 6445, 1379, 949, 2579, 1179, n, 7809, 5051, d, 6765, m, 821, 9863, 9623, 8883, 8537, x, W, i