In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 1347, 4783, 9667, 'B', '1235', '8023', '1321', 'n', 147], [9801, 'L', 'B', '1235', '8023', '1321', 'P', 'y', 1953, 1625]