In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[11, 'l', 2641, 2121, 'Y', 'r', '3655', 'C', 'r', '5225', 'b', '7993', 'w', '5991', 'F', 'n', 'w', '4113', 'n', 'J', 'S', 1587, 3435, 2299], [5389, 3549, 1949, '3655', 'C', 'r', '5225', 'b', '7993', 'w', '5991', 'F', 'n', 'w', '4113', 'd', 'K', 'd', 'n']