In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[363, 3715, 'D', 'V', '5167', '4043', 'M', 'l', 8079, 't', 'Q', 'A'], [4867, 8419, 8141, 2037, 'D', 'V', '5167', '4043', 'M', 'w', 8133, 5965]