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]: ['V', 6409, 2901, 2857, 'm', 'Z', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'u', 6709, 5107, 75, 'D', 3405, 8783, 'f', 9429], [4593, 'J', 9331, 'R', 'F', 9237, 9523, 3727, 9529, 4753, 'y', 'd', 'P', 'H', 'D', 'I', 'w', '8693', '7057', 'a', '2847', '5289', 'n', '9155', 'Z', 'L', '1065', 'K', 'e', 'g']
[EX A]: H, D, I, w, 8693, 7057, a, 2847, 5289, n, 9155, Z, L, 1065

[EX Q]: [5755, 1053, 7331, 'w', 'V', 'D', 'U', 'M', 'o', '3493', 'w', 'S', '7487', '6145', 'e', 'W', 3557, 'J', 'X'], [733, 'c', 441, 1893, 'n', 'Q', 'w', 'V', 'D', 'U', 'M', 'o', '3493', 'w', 'S', '7487', '6145', 'e', 'T', 'K', 3833, 'k', 'a', 'L', 'L', 2181, 'L']
[EX A]:
w, V, D, U, M, o, 3493, w, S, 7487, 6145, e