In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']