In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 415, 'v', 'q', 8451, 5847, 8729, 'S', 1583, 'D', 6785, '6503', 'L', 'y', '3027', '1033', '9941', '6179', 'F', '2125', '7341', '6923', 'F', 'T', 'y', 135, 'r'], ['I', 7291, 5661, 'e', 'X', '6503', 'L', 'y', '3027', '1033', '9941', '6179', 'F', '2125', '7341', '6923', 'v', 639, 'g', 3727, 'Q', 'k', 3799, 2879, 6595, 9701]