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:
['S', 'g', 'G', 'x', 'Z', '5969', '1011', 'x', '3873', '9319', '6691', 'P', 't', 'o', 5945, 'L', 'D', 6741], ['V', 6061, 1145, 8363, 't', 'm', 3695, 'G', 'x', 'Z', '5969', '1011', 'x', '3873', '9319', '6691', 'H', 1323, 'f', 'y', 4227, 3433, 787]
Answer:
G, x, Z, 5969, 1011, x, 3873, 9319, 6691