In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 5087, 'y', 'Q', '8593', 'F', 'Q', 'U', 'U', 2579], [3899, 'Z', 'H', 2981, 2633, 'v', 'y', 'Q', '8593', 'F', 'Q', 'U', 'F', 'o', 8347]