Chase is campaigning for class president and plans to distribute some campaign materials: 8 flyers and 12 buttons. He wants each classroom to receive an identical set of campaign materials, without having any materials left over. What is the greatest number of classrooms Chase can distribute materials to?