In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[535, 961, 's', 'o', 2929, '117', '5931', 'a', '8905', 'r', 'V', 'g', '1831', 'Y', 'y', '2435', '8571', 'b', 6665, 3909], ['h', 'X', 7909, 'Q', 8541, 5479, '117', '5931', 'a', '8905', 'r', 'V', 'g', '1831', 'Y', 'y', '2435', '8571', 'D', 'd', 9917, 'G', 'n', 6459]