In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['X', 4061, 'a', '717', 'e', 'V', '2545', 'b', '719', 'z', '3193', 'r', '9517', 'S', 'm', 'M', 'm', 'b', 'a', 'X', '855', 'n', 'V', 'C', '2373', 'h', '1041', '1357', 'z', 6785, 4529, 5531, 4681, 'c', 'c', 'P'], [3955, 'k', 'G', 'p', 3767, 1249, 6185, 2169, 'D', 'm', 9057, 't', 'y', 'i', 'N', 'h', 1387, 6595, 4331, 2381, 'V', 'a', '717', 'e', 'V', '2545', 'b', '719', 'z', '3193', 'r', '9517', 'S', 'm', 'M', 'm', 'b', 'a', 'X', '855', 'n', 'V', 'C', '2373', 'h', '1041', '1357', 'O', 1075, 8067, 'F', 'E', 9817, 6057, 7515, 'M', 2103, 'd', 7331, 'i', 417, 1181, 'q', 'Q', 6281, 6191, 3495, 'O', 641, 'w', 7629, 6327]