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

[EX Q]: [9417, 6541, 'V', 4095, 2535, 8271, 4253, 'r', 7251, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'Y', 'm', 3611, 'K', 7553, 'B', 'K', 'T'], ['P', 'r', 6361, 2773, 'r', 2627, 'F', 's', '5673', 'Q', '163', '591', 'G', 'm', 't', '7069', 'c', 'o', 't', 'q', '5595', 'D', 'f', 7923, 3733, 5271, 4083]
[EX A]: F, s, 5673, Q, 163, 591, G, m, t, 7069, c, o, t, q, 5595, D

[EX Q]: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]
[EX A]: 1331, 7235, 8333, a, 4137, b, 9779

[EX Q]: [7965, 'M', '5043', 'a', '7371', 'W', 'A', 1735], [1989, 4397, 'K', '5043', 'a', '7371', 's', 9621, 'e']
[EX A]:
5043, a, 7371