In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['k', 'F', 'm', 'o', '4415', 'Q', '6341', '37', '3237', '1177', 'X', 'b', 'y', 'M', 'B'], ['m', 6259, 6843, 'H', 2685, 'f', '4415', 'Q', '6341', '37', '3237', '1177', 'c', 2257, 4957, 'w', 3087]