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: [4989, 7519, 6539, 'G', 't', 'D', 'u', 'K', 'K', 'm', 8985, 699, 'F', 2305, 7157, 'f', 7287, '5165', '7355', '7211', '3891', 'p', '7981', '4527', '895', 'Q', '4667', '6957', 'C', 'o', '2017', 'O', 'o', '7649', 'K', 'p', 9687, 4085, 'v', 'e', 8647, 8033, 'r', 1373], [6683, 'R', 4547, 'B', 3777, 'J', 7059, '5165', '7355', '7211', '3891', 'p', '7981', '4527', '895', 'Q', '4667', '6957', 'C', 'o', '2017', 'O', 'o', '7649', 'X', 901, 'r', 'G', 'O']
Solution:
5165, 7355, 7211, 3891, p, 7981, 4527, 895, Q, 4667, 6957, C, o, 2017, O, o, 7649