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

[EX Q]: [605, 'W', 7189, 'X', '7897', '5823', 'P', '9001', 'J', 'r', 2595], ['z', 'W', '7897', '5823', 'P', '9001', 'J', 'Z', 'w']
[EX A]: 7897, 5823, P, 9001, J

[EX Q]: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']
[EX A]: 6533, o, 47, 6333

[EX Q]: [265, 'u', 9487, 'j', '109', '7453', 'L', 'n', '1029', '6783', 'U', 305, 'P', 6371, 'w'], [3137, 'Q', 'y', 'H', '109', '7453', 'L', 'n', '1029', '6783', 'e', 6803, 1457]
[EX A]:
109, 7453, L, n, 1029, 6783