In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 1721, 9121, 6645, 5245, 2531, 'Q', '5283', '9435', '3445', 'f', 'D', '8297', '3525', 'G', 3537, 'o', 'q', 9729], [177, 8617, 1493, 'q', 'A', 'v', 'p', 'Q', '5283', '9435', '3445', 'f', 'D', '8297', '3525', 'C', 'q', 'A']