In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5329, 'k', 5691, 'p', 'b', 'K', '9725', '5921', '4325', 'S', 'Q', 3411, 5335], [5885, 9505, 'D', 'd', 'l', 4541, 'p', 'b', 'K', '9725', '5921', '4325', 'P', 'w']