In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']