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: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]

Answer: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259


Question: [9491, 7417, 'X', 8055, 'T', 'l', 'Z', '861', '3823', '8901', '9377', '697', '5467', 'H', 'e', 'w', 'z'], ['i', 'F', 'Z', '861', '3823', '8901', '9377', '697', '5467', 'k', 'W', 15, 3537, 'N', 1283, 'A']

Answer:
Z, 861, 3823, 8901, 9377, 697, 5467