In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'o', 'I', 'z', 'K', '1065', 'F', 'L', '153', '9645', 'L', 'K', 'Y', 3057], [1731, 6037, 8687, 8457, 'T', 'A', 'I', 'z', 'K', '1065', 'F', 'L', '153', '9645', 'h', 'j', 4849, 'z', 'c', 'M', 'z', 6311]