In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 2951, 6581, 'b', 'n', 6209, 'j', '5709', '7949', '6301', '4709', '5903', 'f', '3143', '7881', '3283', 'Q', 'f', '6905', 'a', 2291, 'k'], ['v', 7469, 9299, 'R', '5709', '7949', '6301', '4709', '5903', 'f', '3143', '7881', '3283', 'Q', 'f', '6905', 'r', 'D', 8955]