In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 'm', 'z', 2055, 8967, 'E', 663, 'W', '3937', 'o', '8009', '5281', '1783', '1121', 'W', 'L', 9649, 8627, 'r'], [8707, 6529, 'W', '3937', 'o', '8009', '5281', '1783', '1121', 'W', 'P', 'D', 1577, 'S', 6661, 7059]