In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: [6507, 8623, 6879, '1327', '6971', 'd', 'A', 3663, 7831], [1711, 4751, 3479, '1327', '6971', 'd', 'u', 1771]

Answer: 1327, 6971, d


Question: [9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']

Answer: 3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J


Question: [667, 2319, '7729', 'P', '3307', '7297', '5967', '9909', 'P', 'H', 3445, 'T', 'N', 'W'], ['X', 7049, 'D', 'd', '7729', 'P', '3307', '7297', '5967', '9909', 'T', 'd', 'j', 'i', 'R', 3093]

Answer:
7729, P, 3307, 7297, 5967, 9909