In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9813, 4427, '8939', 'A', 'o', '8889', '4491', 'A', 'N', 1661], [9941, 'S', 'F', '8939', 'A', 'o', '8889', '4491', 'Y', 6761, 3277]