In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'm', '513', '6771', 'a', '9155', '9535', '2249', 'N', 9859, 'M'], ['t', 'l', 2533, '513', '6771', 'a', '9155', '9535', '2249', 'C', 'j', 's', 'o', 'I']