In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'W', 'F', '1171', 'r', 'E', '2447', 'I', 'L', '7351', '9295', '7801', 'H', 8873], ['d', 't', 6963, '1171', 'r', 'E', '2447', 'I', 'L', '7351', '9295', '7801', 'y', 'y', 'h', 581]