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:
[9243, 'Y', 'f', 4049, 'w', 4071, 7717, 'U', '897', '6743', 'o', 'D', 'y', 'F', '8665', 'J', '7669', 'r', 'q', '4883', 'P', 'X', '1389', 'w', '4367', 'H', '1511', '5023', 'm', 'B', 3733, 3549, 'Q', 'a', 't', 'O', 10005, 8859, 5581, 4635], ['M', 8971, 7671, 8037, 'x', '897', '6743', 'o', 'D', 'y', 'F', '8665', 'J', '7669', 'r', 'q', '4883', 'P', 'X', '1389', 'w', '4367', 'H', '1511', '5023', 'e', 9611, 'L', 'h', 'R', 'T', 'z', 9617, 'k']
Answer:
897, 6743, o, D, y, F, 8665, J, 7669, r, q, 4883, P, X, 1389, w, 4367, H, 1511, 5023