In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['F', 't', 'c', 5723, 5475, 'e', 7005, 'g', 'E', '4555', '9685', 'U', 's', 'I', 'A', '4799', 'X', '8335', 'd', 'o', 'g', 'D', 5855, 3975, 'q', 6151, 'u', 'S', 'H', 'X', 9027], [7591, 'C', 'E', '4555', '9685', 'U', 's', 'I', 'A', '4799', 'X', '8335', 'd', 'o', 'g', 'M', 4067, 9011, 'h', 'y']