In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: ['r', 'g', '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'G', 'N', 2585], ['X', 5347, 'M', 'Z', 4615, '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'P', 'o']

Answer: 997, n, 631, 527, E, A, n, n, G, 1197, R, L


Question: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]

Answer: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689


Question: [5211, 5641, 3287, '9025', '1443', '6307', 'F', '8251', '3537', 't', 'h', 6295, 4517, 8949], [5839, 9427, '9025', '1443', '6307', 'F', '8251', '3537', 'X', 'Z', 3689, 7931, 'L', 'L']

Answer:
9025, 1443, 6307, F, 8251, 3537