In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 8299, 'l', '10013', '6939', 'o', 'G', 'S', 'A', 2281, 'n'], [1905, 'm', 'b', 'W', '10013', '6939', 'o', 'G', 'S', 'l', 'G', 'g', 6585]