In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 6253, 'm', 'f', 5133, 'c', 'G', 'L', '2721', 'Y', '3275', '7261', 'O', 'e', 'Y', 3875, 9835, 3631], ['d', 2467, 7301, 'G', 'L', '2721', 'Y', '3275', '7261', 'O', 'n', 'Q', 3901, 699, 1367]