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: [2149, 'E', 'm', 8023, 1121, 3537, 4371, 'Z', 'K', 115, 4959, 't', 2227, 'S', 'h', '2069', 'n', 'M', '9083', '6201', '9489', '3215', '1953', '3475', '3883', '4981', 'r', 'P', '3321', '4587', 'z', '8347', '759', '89', '1511', '7895', '5645', 'R', 'q', 'o', 'G', '377', 'm', 'M', 'T', 'R', 8405, 3357, 8613, 4255, 2435, 6281, 8353, 'X', 3247, 1395, 'Q', 9173, 7819, 'q', 6241, 'r', 3993, 'R', 1995, 6963], [5085, 'B', 83, 'B', 'N', 's', 7515, 'c', 4867, 'f', 'P', 'G', 297, 'f', 'Q', 5721, 4187, 'a', 6209, 7987, 'f', 8833, 'f', 'D', 8017, '2069', 'n', 'M', '9083', '6201', '9489', '3215', '1953', '3475', '3883', '4981', 'r', 'P', '3321', '4587', 'z', '8347', '759', '89', '1511', '7895', '5645', 'R', 'q', 'o', 'G', '377', 'm', 'M', 'T', 'Q', 3777, 'o', 8621, 'J', 5449, 'H', 975, 7463, 'e', 5471, 8397]
Solution: 2069, n, M, 9083, 6201, 9489, 3215, 1953, 3475, 3883, 4981, r, P, 3321, 4587, z, 8347, 759, 89, 1511, 7895, 5645, R, q, o, G, 377, m, M, T