In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 1987, 't', 'p', 3185, 'n', 'v', '1533', '2071', 'a', 'p', 'Q', 'f'], ['Z', 7931, 'j', 'n', 'v', '1533', '2071', 'a', 'e', 'v', 'v', 'p']