Dr. Stein bought 30 notebooks, 60 pencils and 300 erasers for his class to make identical packages with some notebooks, some pencils and some erasers for his students. He used everything he bought, and every student got a package. What is the largest number of students Dr. Stein can have in his class?