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: [7201, 5817, 319, 'l', 'd', 'M', 1217, 'M', 5853, 2641, 'r', '1765', '7867', 'J', 'l', 'O', 'm', 'F', '9005', '1125', '5735', 'l', 'f', '5583', '9819', '1619', '8029', '7631', '1885', 'L', 'M', 3119, 'X', 81, 'L', 1031, 7617], [5653, 5767, 3799, '1765', '7867', 'J', 'l', 'O', 'm', 'F', '9005', '1125', '5735', 'l', 'f', '5583', '9819', '1619', '8029', '7631', '1885', 'T', 'h', 3885, 'N', 8837, 'k', 'J', 'F', 6273, 8931, 'G', 5023]
Solution: 1765, 7867, J, l, O, m, F, 9005, 1125, 5735, l, f, 5583, 9819, 1619, 8029, 7631, 1885