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]: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]
[EX A]: 9525, B, o

[EX Q]: [8311, 'k', 'u', '3851', 'v', '3659', 'C', '6825', 'P', 9755], [9613, 9597, 799, 3793, 2441, 'u', '3851', 'v', '3659', 'C', '6825', 'e', 7219, 'w', 'W', 3709, 9517]
[EX A]:
u, 3851, v, 3659, C, 6825