In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 1677, 3463, 'b', 'D', '5103', '2383', 'K', 'h', 8301], [6405, 1657, 'b', 'D', '5103', '2383', 'K', 'M', 'w']