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: ['v', 'A', 157, 'W', '6247', '1051', 'u', '2269', '5797', 'M', 'Z', 'S', '5943', 't', '2825', 'A', '7263', 'M', 'z', 3081, 9423, 7497, 1043, 2245, 9791, 'Z', 2185, 'P', 'y'], [9797, 8043, 'Q', 'f', 'l', 4481, 5173, 7257, 'Y', 7265, 'F', 8731, 4715, 7893, 'W', '6247', '1051', 'u', '2269', '5797', 'M', 'Z', 'S', '5943', 't', '2825', 'A', '7263', 'e', 'w', 'h', 'f', 'q', 'E']
Solution: W, 6247, 1051, u, 2269, 5797, M, Z, S, 5943, t, 2825, A, 7263