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

[EX Q]: ['E', 'P', 'Z', '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'x', 9461, 2587], [9027, 289, 2515, 'k', 'N', 'i', 9689, '8337', 'L', '4245', 'M', 'M', 'H', '4531', 'B', 'p', '6961', 'r', 'x', 737, 'a', 'w', 'K', 'S']
[EX A]: 8337, L, 4245, M, M, H, 4531, B, p, 6961

[EX Q]: ['R', 437, 'S', 'N', 'H', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'B', 3579, 'v', 8529, 'i'], ['w', 'j', 'X', 'G', 'I', 4567, 'H', 'w', 8869, 4535, 'L', 'q', 'u', 'V', 'L', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'R', 155]
[EX A]: 3615, w, j, N, 6991, 7577, O, z, k, F, T, 3585, 5505, 5485, f

[EX Q]: ['R', 'M', 'K', 'I', 'q', '5395', '3393', '3033', 'T', 'S', 'D', 'g', '75', 'K', '3041', 'Z', 7543], ['I', 'T', 'y', 7447, 'y', 7489, 'K', 'I', 'q', '5395', '3393', '3033', 'T', 'S', 'D', 'g', '75', 'K', '3041', 'X', 'w', 2529, 8629, 'w', 569, 8091, 's']
[EX A]:
K, I, q, 5395, 3393, 3033, T, S, D, g, 75, K, 3041