In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 7627, '1475', '6951', '1799', '5809', 'I', 185], ['J', 'g', 'w', '1475', '6951', '1799', '5809', 'p', 'X', 553, 9105]