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:
[287, 5345, 'x', 3071, 'c', '8727', 'f', '7609', '2389', '6329', '5951', '1463', '2669', 'Z', '1567', '5739', '7869', '9369', '9613', '515', '7827', '9945', '4231', 'A', 2889, 5525, 'i', 't', 'h', 'B', 5567, 8683, 'r', 't', 403, 'K', 9103, 1015, 1295, 'N', 'P', 2421], [455, 'e', 8253, 'V', 'B', 9421, 2273, 'c', 3531, 2977, 'k', 9357, 'h', 'e', 4119, 'l', 'q', 4403, 'c', '8727', 'f', '7609', '2389', '6329', '5951', '1463', '2669', 'Z', '1567', '5739', '7869', '9369', '9613', '515', '7827', '9945', '4231', 'a', 'q', 1567, 'U', 661, 9195, 6015, 8091, 8255, 171, 1729]
Answer:
c, 8727, f, 7609, 2389, 6329, 5951, 1463, 2669, Z, 1567, 5739, 7869, 9369, 9613, 515, 7827, 9945, 4231