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: ['L', 'J', 'A', 6851, 'H', 't', 'J', 6341, 'V', 2915, 8777, '5843', 's', 'K', 'x', '8787', 'u', 'x', '65', '4719', '9027', 't', 'S', 'l', '2631', 'F', '101', '7849', '8309', '5117', '2641', '543', 'W', '79', 'J', 'E', 4879, 'x', 47], [4843, 9005, 7893, 6675, 'z', '5843', 's', 'K', 'x', '8787', 'u', 'x', '65', '4719', '9027', 't', 'S', 'l', '2631', 'F', '101', '7849', '8309', '5117', '2641', '543', 'W', '79', 'V', 'o', 985, 5685, 'y', 'z', 7841, 'T', 9587, 7751, 5907, 'a', 5471, 'o', 'y', 'j']
Solution: 5843, s, K, x, 8787, u, x, 65, 4719, 9027, t, S, l, 2631, F, 101, 7849, 8309, 5117, 2641, 543, W, 79