In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2829, 5023, 'K', '4315', '9079', 'G', 9661], ['n', 3295, 6781, 'K', '4315', '9079', 'u', 'w', 5599]