In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 9899, '7407', '3261', '6407', 'R', '3973', 'G', '4827', 'b', '85', 't', 'I', 'i', 'K', 1159, 4889], [3125, 9135, 'W', 8677, '7407', '3261', '6407', 'R', '3973', 'G', '4827', 'b', '85', 'a', 3479, 'd', 5371, 'M', 'U']