In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example solution: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Problem: [3521, 4141, 5615, 2285, 1421, 1561, 6619, 'v', '2021', '1231', '957', '1009', 'O', '3015', '2585', '629', '7651', '5935', 'c', 'H', 'g'], [2109, 6847, 7499, '2021', '1231', '957', '1009', 'O', '3015', '2585', '629', '7651', '5935', 'c', 'y', 167, 'F', 9891, 2235, 7085, 8269, 6893, 3737]
Solution: 2021, 1231, 957, 1009, O, 3015, 2585, 629, 7651, 5935, c