In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 'o', 9293, 'M', 'a', '9587', 'W', '8363', 'm', '5605', 'E', 2639, 7783, 'F', 2221], ['x', 'q', 8517, 9795, 'G', '9587', 'W', '8363', 'm', '5605', 'N', 4789, 'A', 'a']