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:
['M', 'q', 8651, 'W', 'k', 2495, 1167, 'k', 5101, 'd', 'K', 'd', 'Z', 'D', 'i', 'G', 2431, 'a', 9775, 'Q', 1173, 7269, 9361, 'I', '5337', 'R', '213', '3115', 'G', 'x', '5711', 'U', '3383', 'u', '4577', '6707', '2691', 'K', 'I', 'y', 'e', 'n', '2655', '583', 'U', '809', 'R', '8643', 'P', 'K', 'X', '5445', 'k', 'H', 'h', 8479, 'I', 4357, 6447, 4287, 7789, 'p', 'y', 413, 443, 't', 'C', 7947, 6595, 't', 'H', 1525, 'q', 'y', 'K', 5873, 'j', 6987, 2615, 'E', 2951], [4403, 'S', 8913, 5989, 'D', 'd', 3489, 't', 3269, 'o', 'O', 'T', 5337, 3793, 'i', 'L', 'E', 137, 809, 3933, 223, 1217, 8765, 3919, 5809, 'V', 2469, '5337', 'R', '213', '3115', 'G', 'x', '5711', 'U', '3383', 'u', '4577', '6707', '2691', 'K', 'I', 'y', 'e', 'n', '2655', '583', 'U', '809', 'R', '8643', 'P', 'K', 'X', '5445', 'k', 'n', 2877, 2451, 2811, 1355]
Answer:
5337, R, 213, 3115, G, x, 5711, U, 3383, u, 4577, 6707, 2691, K, I, y, e, n, 2655, 583, U, 809, R, 8643, P, K, X, 5445, k