In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 4687, 'U', 's', 'b', 'Y', '6301', 'T', 'h', '8065', '747', '8569', '9447', 'L', '3741', 'P', 'J', 'Q', 'f', 459, 3925], [7013, 'Z', 'X', 5031, 'K', '6301', 'T', 'h', '8065', '747', '8569', '9447', 'L', '3741', 'P', 'o', 8569, 9199, 81, 'N', 'K', 'I', 'r', 'q']