In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 'S', 'D', 'F', '6727', '5649', 'v', 'D', '3493', '6615', '9351', 'V', 'Z', 'p', 'L', 4951, 'j', 401], [4547, 'r', 'r', 'D', 'F', '6727', '5649', 'v', 'D', '3493', '6615', '9351', 'G', 'v']