In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'c', 'M', 'j', 3029, 'j', 2451, 'H', 'f', 719, 'r', 'b', '973', 'q', 'v', 'k', 'H', '1845', 'D', '3203', '6609', '8387', 'X', 1329, 'z', 'g'], ['S', 9317, 'Y', 'I', 'H', 'Y', 'E', 'U', 'r', 'b', '973', 'q', 'v', 'k', 'H', '1845', 'D', '3203', '6609', '8387', 'b', 'J', 7801, 5073, 9771, 'f', 1353, 4749]