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

[EX Q]: ['S', 'd', 'z', 2305, '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'U', 'y', 'N', 'n', 6769], ['Q', 'T', 'n', 1267, 5099, 57, 4739, 295, 8099, 'n', '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'K', 'n', 'N', 'b', 3941, 3443, 'A', 7927, 'g', 'h']
[EX A]: 2731, W, 5987, 4043, w, v, S, v, 1143, 1725, 9073, 4411, 9321, 1213, 3111, 2527, U

[EX Q]: ['o', 'k', '8037', '2095', 'E', 'l'], [4673, 'J', '8037', '2095', 't', 'F']
[EX A]: 8037, 2095

[EX Q]: [8499, 4679, 'A', 'Q', 'z', '7781', 'G', '7739', 'C', 'y', 2449, 's'], ['K', 577, 'j', 'V', 'z', '7781', 'G', '7739', 'e', 'L']
[EX A]:
z, 7781, G, 7739