In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5435, 1347, 5347, 'D', 'q', '9023', '5475', '9801', '8991', '8395', '9555', '131', '83', 'u', 'h', 6789, 3099, 'F', 'f', 'J'], ['T', 'e', 'k', 9577, 'k', 'B', 2225, 'D', 'q', '9023', '5475', '9801', '8991', '8395', '9555', '131', '83', 'u', 'z', 'b', 'V', 'm', 'P', 8069, 8989]