In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['l', 'f', 1593, '1537', '407', '9101', '589', 'u', '7817', '9261', 'L', '961', 'O', 419], [2067, 963, 'A', 'J', 'd', 'L', 'j', 5423, 'P', '1537', '407', '9101', '589', 'u', '7817', '9261', 'L', '961', 'D', 'G', 6171, 'L', 'a', 'S', 5065]