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:
[1481, 8901, 535, 'D', 'I', 2801, 'E', 8077, 'S', '3233', '2841', 'C', 'Y', '5977', 'u', '3563', '1431', '777', 'z', 'L', 'O', 6951, 'q', 'S', 'D', 9231], ['i', 'y', 'w', 'y', 'I', 'S', '3233', '2841', 'C', 'Y', '5977', 'u', '3563', '1431', '777', 'z', 'F', 1991]
Answer:
S, 3233, 2841, C, Y, 5977, u, 3563, 1431, 777, z