In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 9843, 'M', 9275, 2813, 5915, 8771, 'C', 'b', 'O', 'A', 'F', '6751', 'N', '4193', 'g', '151', '649', '1647', 'v', '2527', 'G', 'C', 'm', '3139', '305', '6685', 'n', 9609, 3619, 'I', 'z', 'M', 'X'], [6917, 571, 'm', 651, 'm', 'd', 2717, 4237, 'M', 9925, 'y', 1073, 'L', '6751', 'N', '4193', 'g', '151', '649', '1647', 'v', '2527', 'G', 'C', 'm', '3139', '305', '6685', 'z', 'b', 'H', 469, 'V', 'f', 6167, 'S', 1517, 's']