In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9535, 'R', 2959, 'k', '4869', '8299', 'I', 'D', 'K', 'G'], ['v', 8155, 'k', '4869', '8299', 'I', 'D', 'M', 9657, 't']