In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5011, 'y', 'v', 1019, 'F', '2709', '5215', '6833', 'W', 'W', 'b', 'D', 'A'], [8413, 7957, 3479, 9685, 3541, 'F', '2709', '5215', '6833', 'W', 'W', 'a', 'Z']