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: [2365, 'j', 2981, 2539, 4117, 3661, 'm', 6207, 'Z', 165, 8661, 'z', 'd', 'N', 'U', '2239', 'n', '8647', 't', '511', 'W', 'W', 'b', '3343', 'k', '5111', 'x', '3707', 'J', 'f', '1891', '9623', 'Y', 'Y', '4197', '2455', 'E', '1359', '5757', '4869', '4469', 'F', 'H', 157, 'b', 8003, 9429, 'W', 5227, 'F', 8163, 9401, 4147, 'P', 'z', 8643, 8837, 2927, 6611, 5463, 'z', 3537, 6063, 'e', 'S'], ['U', 'x', 'h', 'Z', 2969, 'n', 'K', 5123, 'z', 1807, 5885, 7899, 'W', 9925, 8159, 4641, 'V', 'z', 7195, 'Q', 8069, 'H', 's', 6017, 'h', 'a', 'U', '2239', 'n', '8647', 't', '511', 'W', 'W', 'b', '3343', 'k', '5111', 'x', '3707', 'J', 'f', '1891', '9623', 'Y', 'Y', '4197', '2455', 'E', '1359', '5757', '4869', '4469', 'K', 's', 'f', 'f', 'j', 'm']
Solution: U, 2239, n, 8647, t, 511, W, W, b, 3343, k, 5111, x, 3707, J, f, 1891, 9623, Y, Y, 4197, 2455, E, 1359, 5757, 4869, 4469