In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: [6397, 'W', 'k', 'v', 'E', '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'N', 1329, 5233, 'U', 2563, 'L', 8547], [1857, 'F', 'g', 8381, 165, 'o', 7009, 5455, '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'X', 'g']

Answer: 1941, 2295, q, 1357, 2041, 5263, 7781, w


Question: ['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']

Answer: O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S


Question: [4789, 't', 'a', 6489, 5377, 6495, 'I', 'V', 679, '8249', 'X', 'b', '5457', '247', '8243', 'U', 'd', 't', 'V', 4131, 'z', 'k', 'o', 'E'], ['R', 'U', 9825, '8249', 'X', 'b', '5457', '247', '8243', 'U', 'd', 't', 'X', 'I', 'v', 'I']

Answer:
8249, X, b, 5457, 247, 8243, U, d, t