In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7171, 'J', 1801, '805', '1589', '3747', '1605', 'd', '5483', '6565', 'K', '9985', '2841', 'q', 'b'], ['b', 'I', 'j', 1001, '805', '1589', '3747', '1605', 'd', '5483', '6565', 'K', '9985', '2841', 'k', 'Q', 'E', 'J', 'A', 'S', 'u']