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: [7421, 6425, '6171', '1733', '5311', 'g', '2067', 'c', 2405], ['J', 'w', 7073, 'R', 'c', '6171', '1733', '5311', 'g', '2067', 'P', 7885, 'w']
Solution:
6171, 1733, 5311, g, 2067