A school has 105 students, and seven classes. If each student takes three classes, and each class is taken by the same number of students, how many students are taking each class?