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:
[8687, 'a', 'x', 'c', '4445', 'e', 'G', 'B', '9263', '1103', '5165', 'N', 'B', 'x', 5831, 'M'], ['V', 'Y', 'J', 9765, 'n', 'S', 6897, '4445', 'e', 'G', 'B', '9263', '1103', '5165', 'm', 1525, 4019, 'G', 5931, 2297, 'G']
Answer:
4445, e, G, B, 9263, 1103, 5165