In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Let me give you an example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
The answer to this example can be: 8297, b
Here is 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'].

OK. solve this:
['Q', 7693, 8241, 'F', 'q', 'J', '6349', 'O', 'J', 'J', '8493', 'y', '3067', 'I', 's', '3177', 'b', 'A', 'J', 'g', 'u', '5173', '8661', '3067', '5641', 'X', 'K', 'W', 's', 'B', 'p', 7427, 2261, 8885, 3861, 5013, 1151, 1817, 7117, 2013, 3261, 2823, 4331, 'w', 6377, 'x', 'A'], [7745, 'T', 199, 'J', 7653, 1793, 9805, 's', 'R', 5809, 6939, 'U', '6349', 'O', 'J', 'J', '8493', 'y', '3067', 'I', 's', '3177', 'b', 'A', 'J', 'g', 'u', '5173', '8661', '3067', '5641', 'X', 'K', 'W', 's', 'q', 'H', 5301, 'L']
Answer:
6349, O, J, J, 8493, y, 3067, I, s, 3177, b, A, J, g, u, 5173, 8661, 3067, 5641, X, K, W, s