In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2405, 1783, 'K', 'd', 'm', '6073', 'P', 'W', 'z', 'B'], [7445, 8381, 5293, 5905, 'K', 'd', 'm', '6073', 'O', 'l']