Victor baked 30 chocolate chip cookies,18 peanut butter cookies, and 24 sugar cookies. He wants to split them up into equal and identical groups for a bake sale. What is the greatest number of groups he can make?