In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8823, 'k', 'g', 'T', 'X', '6435', 'F', 'n', 'r', 'S', '2323', 'H', '3955', '8959', '3509', 'S', '2007', 'Z', 'K', '5043', 'Q', 'm'], ['g', 2957, 4837, 'e', 'T', 'X', '6435', 'F', 'n', 'r', 'S', '2323', 'H', '3955', '8959', '3509', 'S', '2007', 'Z', 'K', '5043', 'W', 'U', 2205, 'h']