In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5907, 9789, 9131, '4917', '5427', 'n', '8741', 'C', 8933, 7447, 1765], [4679, 'e', '4917', '5427', 'n', '8741', 'n', 'r', 1817, 'v']