In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 1007, 2257, 'k', 'Q', 'b', 'Z', 9773, '9015', '3483', '6603', '4313', '147', '3961', 'z', '2599', 'j', '9601', '2071', '9055', '7393', '7901', '6573', 'q', 'G', 'U', '2627', '635', 'Q', '6127', 't', 'H', 'm', 'n', 'y', 'G', 'S', 7039, 'T', 4319, 'x', 'Y', 6365, 'O', 'K', 'U', 6735, 'S', 4983], [4127, 7863, '9015', '3483', '6603', '4313', '147', '3961', 'z', '2599', 'j', '9601', '2071', '9055', '7393', '7901', '6573', 'q', 'G', 'U', '2627', '635', 'Q', '6127', 't', 'H', 'm', 'n', 'q', 8807, 3365, 'w']