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:
[7987, 7761, 837, 'N', 5307, 'm', 'H', 'a', 6011, 'p', 1261, 'n', 'j', 2741, 'T', 'V', 7247, 'I', 6487, 'X', 3735, 2641, 6011, 5017, 'g', 't', '4355', '5389', 'j', 'Q', '9471', '8927', '5121', 'h', '8351', '279', 's', 'x', '3639', 'K', 'h', '5871', '3719', 'Z', 'o', '6835', 'P', '8211', 'x', '2289', '6469', 'Z', 8599, 3573, 2533, 993, 6211, 5357, 'G', 'p', 'l', 925, 4011, 'Y'], [2521, 'K', 'K', 3697, 8391, 3329, 9555, 4121, 6765, 9791, 9973, 'd', 1039, 6223, 9409, 6551, 'b', 7819, 'R', 1747, 591, 'c', 'z', 4793, 't', '4355', '5389', 'j', 'Q', '9471', '8927', '5121', 'h', '8351', '279', 's', 'x', '3639', 'K', 'h', '5871', '3719', 'Z', 'o', '6835', 'P', '8211', 'x', '2289', '6469', 'S', 'Z', 'g', 'u', 8147, 'Y', 'N', 8969, 589, 'W', 'X', 'v', 8031, 'Z', 9917, 9513, 3131, 6595, 'M', 649, 1001, 'L', 'e', 'P', 8181, 567]
Answer:
t, 4355, 5389, j, Q, 9471, 8927, 5121, h, 8351, 279, s, x, 3639, K, h, 5871, 3719, Z, o, 6835, P, 8211, x, 2289, 6469