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: [6191, 'q', 'U', 'v', 5447, 4517, 'N', 'r', 'U', 6325, 8397, 'M', 5731, 6593, 7021, 5411, '45', 'S', '5235', '6209', 'r', '3967', '9835', '2447', '9359', 'I', '6795', '5987', '7821', '6587', 'n', 'D', 'd', 2989, 'H', 4027, 'g', 9475, 'o', 'o', 9409, 'z', 7605, 'y', 1467, 'Q', 9777], [2585, 4641, 7725, 6227, 'v', 9271, 5197, 7771, 387, 3295, 'I', 'z', 'I', 2149, '45', 'S', '5235', '6209', 'r', '3967', '9835', '2447', '9359', 'I', '6795', '5987', '7821', '6587', 'n', 'D', 'P', 8475, 4739, 'g', 'Z', 9163, 'F', 1853, 8937, 6283]

Solution: 45, S, 5235, 6209, r, 3967, 9835, 2447, 9359, I, 6795, 5987, 7821, 6587, n, D