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

[EX Q]: ['C', 9451, 'a', 'c', '1879', '7201', 'H', '3431', 'u', 17], ['t', 37, '1879', '7201', 'H', '3431', 'X', 7267, 'Z']
[EX A]: 1879, 7201, H, 3431

[EX Q]: [7849, 813, 1309, 3749, '10001', 'g', '1057', 'c', 't', 't', 'i', 2269, 'M', 'q', 373], ['d', 4077, 3209, 'g', 5643, '10001', 'g', '1057', 'c', 't', 't', 'h', 'Y', 8349, 'q', 3939, 1333]
[EX A]: 10001, g, 1057, c, t, t

[EX Q]: ['S', 6803, 3817, 'F', 'Y', '9489', '1727', '3083', 'Q', 'H', 2767, 6571, 'h'], [1263, 6703, 7429, 881, 'Y', '9489', '1727', '3083', 'Q', 'I', 10001, 9025, 'a']
[EX A]:
Y, 9489, 1727, 3083, Q