In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
--------
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: ['w', 5919, 'P', 6117, 7697, 'Y', 4467, '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'u', 'P', 1347, 'y', 'r', 'o', 5611, 'L', 999, 4781], [9955, 'n', 8107, 7059, 'V', 'E', 2417, 1811, 3625, 623, 'T', 'R', 'p', 'l', 'W', 8103, 3691, 'N', '3097', '2793', 'x', 'P', 'c', 'o', '8777', 'D', '1983', '2397', 'X', 't', 'k', '8109', '2549', 'b', '7173', '3843', 'k', 'k', 'p', 'L', 1311, 591, 'J', 5611, 'Q', 'p', 'I', 5921, 237, 'y', 1981, 3861, 'B', 'n', 'r', 'H']

Answer: 3097, 2793, x, P, c, o, 8777, D, 1983, 2397, X, t, k, 8109, 2549, b, 7173, 3843, k


Question: [6883, 4445, 4001, 'f', 8233, 'W', 'I', 6389, 'I', 755, 'L', '871', '3119', 's', '9905', 'a', '9965', 'F', '1921', '2763', 'T', '9487', 'V', 'c'], [2275, 'M', 'J', 9881, 783, '871', '3119', 's', '9905', 'a', '9965', 'F', '1921', '2763', 'T', '9487', 'n', 't', 'o', 'P', 'm', 349, 4265, 1835, 4979, 'R']

Answer:
871, 3119, s, 9905, a, 9965, F, 1921, 2763, T, 9487