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

[EX Q]: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]
[EX A]: 7587, 521, a, 1617, 5245, 5629, 9977

[EX Q]: ['z', 'F', 'H', 'E', 1495, 'u', 't', 'm', 'o', '1165', 'b', 75, 'B'], ['n', 'H', 'M', 'j', 3999, 'u', 't', 'm', 'o', '1165', 'r', 'x', 'W']
[EX A]: u, t, m, o, 1165

[EX Q]: ['P', 7541, 3469, 'a', '6997', '6629', 'A', 4751, 'T'], [6021, 't', 3387, 'a', '6997', '6629', 'X', 'P', 'i']
[EX A]:
a, 6997, 6629