You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution: 8297, b
Why? 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'].

New input: ['Q', 'a', 'm', 'm', 'Z', 3657, 8175, 2613, 7343, 'J', 1575, 8539, 6003, 'W', 's', 'b', 7413, 'g', 9741, 7185, 737, 4031, 'q', 9121, 'O', 'r', '1841', 'A', 'S', '6969', '7651', 'e', 'W', '4685', 'R', '2277', 'p', '4199', '8113', 'X', 'N', 'K', 'l', 'I', 'R', '3111', '9807', 's', 'B', 'g', 'w', '6161', 'o', 6731, 'l', 7101, 'Z', 'w', 7645, 1535, 1995, 'd', 2915, 1173, 'M', 5989, 'g', 1113, 'R', 'h', 3091, 'W', 3975, 'E', 2133, 2243, 1001, 1603, 653], ['y', 'H', 1033, 'r', '1841', 'A', 'S', '6969', '7651', 'e', 'W', '4685', 'R', '2277', 'p', '4199', '8113', 'X', 'N', 'K', 'l', 'I', 'R', '3111', '9807', 's', 'B', 'g', 'w', '6161', 'j', 'w', 8925, 'y', 'T', 9297, 2203, 3513, 5479, 'u', 'v', 2959, 9367]
Solution:
r, 1841, A, S, 6969, 7651, e, W, 4685, R, 2277, p, 4199, 8113, X, N, K, l, I, R, 3111, 9807, s, B, g, w, 6161