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: [5781, 'g', 'b', 8851, 3917, 'v', 'N', 'j', '2085', '2067', 'R', '2971', '2331', '595', 'd', 'K', 'O'], [2391, 7575, 2217, 9731, 'v', 'N', 'j', '2085', '2067', 'R', '2971', '2331', '595', 'V', 'J', 3411, 949, 'c', 'I', 'a', 'L']

Solution: v, N, j, 2085, 2067, R, 2971, 2331, 595