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:
['h', 'l', 8607, '5319', 'H', '6243', '2877', 'C', 'B', '8971', 'x', '4303', 'p', 'w', 9199], ['d', 'h', 'c', '5319', 'H', '6243', '2877', 'C', 'B', '8971', 'x', '4303', 'p', 'D', 2595, 'O', 6071, 1605, 'p', 6373]
Answer:
5319, H, 6243, 2877, C, B, 8971, x, 4303, p