In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 7753, '1177', 'u', 'I', 'h', 'a', 3685, 'm'], [575, 9807, 8113, 5517, '1177', 'u', 'I', 'h', 'S', 2165, 8881, 'v']