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: [1001, 653, 9515, 197, 'a', 9425, 9727, 'D', 6987, 705, 'Q', 457, 'V', 'p', 653, 'm', 1789, 9405, 8975, 9577, 'I', 7691, 'P', '4309', '1123', '7899', 'c', '7047', '515', '8299', 'L', 'C', 'B', '1003', '3235', 'K', '3925', 'a', '3091', '7015', 'r', '1925', 'G', 'Y', 'D', 'x', 't', 'H', 'S', 'H', '589', '1787', 'Y', 5241, 'Y', 8317, 'y', 'O', 'I', 5899, 'R', 2265, 'D', 2967, 5695, 'h', 2827, 'g', 7923, 7931, 263, 9105, 'X', 8723, 'n', 2669, 7701, 4559], ['z', 'L', 2755, 'g', 243, 'P', '4309', '1123', '7899', 'c', '7047', '515', '8299', 'L', 'C', 'B', '1003', '3235', 'K', '3925', 'a', '3091', '7015', 'r', '1925', 'G', 'Y', 'D', 'x', 't', 'H', 'S', 'H', '589', '1787', 'K', 8187, 7655, 2309, 5879, 'b', 4431, 'H', 6015]
Solution: P, 4309, 1123, 7899, c, 7047, 515, 8299, L, C, B, 1003, 3235, K, 3925, a, 3091, 7015, r, 1925, G, Y, D, x, t, H, S, H, 589, 1787