In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 'E', 'z', '8509', '7965', 'W', 'L', '9569', 'r', '9941', 'b', 1293, 'e', 1281, 5191, 'z'], [5219, 'R', 'V', 'g', 2239, 3163, '8509', '7965', 'W', 'L', '9569', 'r', '9941', 'd', 4739, 2707]