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: [703, 'W', 1497, 389, 5203, 'Q', 4187, 'w', 6093, 'q', '5229', 'e', 'V', '7163', 'c', 'M', '323', '7687', '559', '6007', '8845', '5529', 'b', '6191', 'f', 'Z', '2117', '2877', '7219', 'k', 'H', 'G', 4895, 8501, 4553, 'l', 595, 5827, 'p', 'D', 'X'], [3909, 'V', 3155, 4851, 4551, 6713, 'J', 'k', 4443, 'g', 3671, 901, 'q', '5229', 'e', 'V', '7163', 'c', 'M', '323', '7687', '559', '6007', '8845', '5529', 'b', '6191', 'f', 'Z', '2117', '2877', '7219', 'k', 'H', 'b', 1765, 'X', 9823, 1267, 'L', 'd', 'b', 'w', 'a', 'J', 4411, 9701, 'v', 'b', 7833, 6737, 'u', 5231, 6229]
Solution:
q, 5229, e, V, 7163, c, M, 323, 7687, 559, 6007, 8845, 5529, b, 6191, f, Z, 2117, 2877, 7219, k, H