In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 5999, 1457, 'D', 8637, 717, 'G', 4821, 3969, 7735, 'k', 'C', 'G', '561', 'W', '5273', '8593', 'M', '7795', '1949', 'e', 'o', 'l', '777', '2823', '6797', 'F', 't', 'O', 5949, 'g', 7541, 8135], ['w', 5113, 'C', 'G', '561', 'W', '5273', '8593', 'M', '7795', '1949', 'e', 'o', 'l', '777', '2823', '6797', 'F', 'L', 9083, 'g', 8673, 'L', 7101, 9621, 2925]