In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[EX Q]: [2095, 4189, 3851, 8479, 'L', 3797, 'B', 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 'U', 'n', 5177, 'M', 5593], ['l', 'e', 'k', 4363, 3241, 6099, 5081, 3617, 7859, 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 't', 'N', 6009, 5793, 'T']
[EX A]: k, i, e, o, 4383, 3861, 6441, 2477, 9535, S, 9063, w, 5725, 6101, 1753, 3199

[EX Q]: [6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']
[EX A]: 8157, 9625

[EX Q]: [9559, 'n', 6151, 8207, '5177', 'X', '2413', '1935', '5469', '947', 'w', 'g', 'w', 'g'], ['I', 'L', 'k', '5177', 'X', '2413', '1935', '5469', '947', 'D', 6411, 9579, 7337]
[EX A]:
5177, X, 2413, 1935, 5469, 947