In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
Question: [4249, 1307, 'R', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'H', 'K', 7197, 3907, 'I', 5561], [8961, 1477, 'X', 'C', 7153, 1005, 'C', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'L', 7313, 2449, 4181, 1573]

Answer: 3377, 9383, w, 7897, S, 1791, f, 6787

Question: ['i', 4077, 'Z', 6231, 2337, 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'd', 1355, 'n'], [505, 'A', 8789, 75, 'q', 'h', '1181', '1631', '2605', '587', '1477', '2707', 'R', 'O', 'e', 'r', 'I', 'm', 1525, 3577]

Answer: h, 1181, 1631, 2605, 587, 1477, 2707, R, O

Question: ['N', 2641, 1775, '9111', 'B', '3987', '6135', '9683', 'K', '2513', 'z', '4905', 'f', '8597', 'S', '3697', '6555', 'O', 'T', 'T', 4261, 'H', 'A', 'S'], ['d', 9621, 7979, 'b', 'O', 'w', 9917, 'd', 113, 3257, 'D', 4653, 'F', 'f', 2587, '9111', 'B', '3987', '6135', '9683', 'K', '2513', 'z', '4905', 'f', '8597', 'S', '3697', '6555', 'O', 'k', 'l', 'j', 7029, 'Y', 2149, 'N', 'u', 'T', 'd', 'd', 'C']

Answer:
9111, B, 3987, 6135, 9683, K, 2513, z, 4905, f, 8597, S, 3697, 6555, O