In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[375, 'C', 'y', 'l', 'o', 'L', 'M', '9313', 'M', 'u', 'r', '215', 'x', 'M', 'n', 1461, 5673, 'b', 7133, 'C', 'J'], [9947, 'Q', 'L', 'r', 'L', 'M', '9313', 'M', 'u', 'r', '215', 'x', 'M', 'B', 1261, 'a', 895, 'i', 't', 'O', 5737]