In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7091, 141, 7901, 2493, 5977, 'I', '707', 'N', 'M', '9265', '7003', '65', 'C', 9517, 6551, 575, 2727], ['g', 825, 'W', 'U', 'I', '707', 'N', 'M', '9265', '7003', '65', 'f', 9489]