In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 3215, 2305, 'S', 'r', '7225', 'a', '3311', '3953', '7131', 'L', 'V', 'w'], [6721, 'I', 'd', '7225', 'a', '3311', '3953', '7131', 's', 1635, 'z']