In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 9539, 'v', 'M', 2323, 'p', '8455', 'k', '3257', '423', 'f', 'N', '8059', 'Z', 'y', 'M', 1691], [1285, 2961, 'j', 9769, 6685, 613, 9265, 5709, '8455', 'k', '3257', '423', 'f', 'N', '8059', 'Z', 'r', 531, 7967, 3021]