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: ['p', 4329, 'S', 'D', 9241, 759, 2991, 'F', 3189, 7335, 9261, 'B', 6559, 9299, 7551, 'w', '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'q', 4811, 'a', 7535, 'y', 2697, 9437, 'P', 'V', 9525, 3879, 5751, 1229, 'i', 7163, 'v', 8903, 'F', 6205, 6447, 9677, 5529, 2883, 'G'], [4501, 'L', 'j', 'Y', 2979, 8761, 3813, 7945, 'r', 'X', 327, 'f', 'S', 'c', 6981, '1413', '7507', 'P', 'd', '8315', 'e', 'b', 's', '7811', 'Q', 'S', 'B', '7459', 'm', 'X', '5533', 'f', 'F', '9347', 'Q', 'w', 'o', '6161', 'C', 'g', 5615, 'n', 'e', 2989, 'T', 'P', 'z', 'R', 'E']

Output: 1413, 7507, P, d, 8315, e, b, s, 7811, Q, S, B, 7459, m, X, 5533, f, F, 9347, Q, w, o, 6161, C

Input: Consider Input: [7153, 2439, 2547, 6541, 'Y', 4237, 'c', '7873', '2375', 'K', '9299', 'h', '747', '8767', '4845', '8435', 'k', '9579', '9939', '3465', 'U', 'X', 'j', '5349', 'Z', 'f', 'l', '4965', '4099', 'j', 'u', 'j', 'x', 4245, 4007, 'o', 'A', 'k', 'e', 'R', 815, 5481, 'H', 717, 2409, 'k', 'y', 399], [5907, 'c', 857, 'T', 'j', 4413, 3643, 'A', 3161, 8181, 5979, 'A', 'B', 6559, 'o', '7873', '2375', 'K', '9299', 'h', '747', '8767', '4845', '8435', 'k', '9579', '9939', '3465', 'U', 'X', 'j', '5349', 'Z', 'f', 'l', '4965', '4099', 'j', 'u', 'i', 8097, 'O', 1829, 'b', 3, 4295, 'b', 'z', 'E', 9083, 'n', 'O', 8673, 8813, 't', 89, 'Z', 9677, 'U']
Output: 7873, 2375, K, 9299, h, 747, 8767, 4845, 8435, k, 9579, 9939, 3465, U, X, j, 5349, Z, f, l, 4965, 4099, j, u