In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['F', 'M', 9089, 'G', 8287, 2339, 'c', 3147, 9423, '4977', '4905', '7849', 'y', 'g', '5705', '21', 'u', '7843', 'o', 5565, 'f', 'e', 1383, 'u', 'm', 5655, 'c'], [5595, 1241, 'Q', '4977', '4905', '7849', 'y', 'g', '5705', '21', 'u', '7843', 'D', 1527, 10029, 2847, 'f', 't', 1465, 'g']