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: [9443, 'M', 101, 7215, 8235, '8411', 'l', 'C', 'Y', 'R', 'A', 's', '8129', '7315', 'X', '9939', 'X', '7893', '2113', 'X', 9771, 4565, 'X', 'q', 'E', 'e', 1203, 'Y', 7321, 5537], ['d', 'h', 'X', 5695, 'g', 'z', 3179, '8411', 'l', 'C', 'Y', 'R', 'A', 's', '8129', '7315', 'X', '9939', 'X', '7893', '2113', 'K', 4507, 8957, 'K', 'i', 'k', 1123, 6635, 't', 'D']

Output: 8411, l, C, Y, R, A, s, 8129, 7315, X, 9939, X, 7893, 2113

Input: Consider Input: [9781, 'V', '615', 'Y', '9405', '7001', '9541', '2853', '8039', '8971', '1911', 'M', '5153', 'v', '5229', 'q', 'w', 'O', 7765, 5553], [7921, 'O', 'C', 'F', 'Z', '615', 'Y', '9405', '7001', '9541', '2853', '8039', '8971', '1911', 'M', '5153', 'v', '5229', 'r', 3817, 'I', 'H', 'X', 'N']
Output: 615, Y, 9405, 7001, 9541, 2853, 8039, 8971, 1911, M, 5153, v, 5229