In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 'L', '3721', 'J', 'h', 'X', '5281', 'G', '6999', '3169', 'E', '8595', '1457', '5337', '2609', 'E', '8209', 'F', 'z', '2639', 'X', 'z', 8419, 'r', 623, 2429, 1569, 'u', 9377, 2237, 1783], [8285, 'I', 965, '3721', 'J', 'h', 'X', '5281', 'G', '6999', '3169', 'E', '8595', '1457', '5337', '2609', 'E', '8209', 'F', 'z', '2639', 'u', 8025, 'P', 4017, 7677, 'd']