In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9391, 5201, 7165, 'z', '9261', '5137', 'K', 'z', 'r', 'b', 'i', 'd'], [7517, 'm', 4063, 1875, '9261', '5137', 'K', 'z', 'r', 's', 'P', 1945]