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]: ['S', 'o', 9247, 'W', 'G', 5923, 4791, '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 's', 'T', 5829, 'p'], ['K', 'U', 'H', 8611, 1005, 'I', '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 'C', 9577, 8279, 2247, 'x', 4917, 'H']
[EX A]: 8083, 3207, 9137, 9359, 9297, 9667, 75, h, 9671

[EX Q]: ['D', 'k', 'I', 8871, '9251', 'z', '1003', '8675', '1423', '2365', 'V', '8737', 'z', '881', '6887', '9717', 'i', 's', '7639', 'a', 'P', '2667', '2581', 's', '6913', '1253', 'V', 'z', 9561, 7765, 2391, 'h', 'F', 'R', 'Y', 'J', 'w', 'b', 'T', 2929, 'T'], [4113, 'z', 4295, 'K', 'H', 2837, 'Q', 'i', 2109, 487, 'u', 2535, 973, 'q', 'F', 'o', 'd', 8907, 5981, 'd', '9251', 'z', '1003', '8675', '1423', '2365', 'V', '8737', 'z', '881', '6887', '9717', 'i', 's', '7639', 'a', 'P', '2667', '2581', 's', '6913', '1253', 'A', 831, 'W', 'g', 8467, 1589, 5959, 'f', 4395]
[EX A]:
9251, z, 1003, 8675, 1423, 2365, V, 8737, z, 881, 6887, 9717, i, s, 7639, a, P, 2667, 2581, s, 6913, 1253