In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 1529, 3467, 1613, 7293, 1083, 'I', '4989', 'N', 'm', '8799', '1313', '5539', '2169', 'b', 1807, 9595, 'r', 'm'], [509, 583, 'u', 1861, 'I', '4989', 'N', 'm', '8799', '1313', '5539', '2169', 'h', 'L', 7873, 'G']