Last Thursday, each of the students in M. Fermat's class brought one piece of fruit to school. Each brought an apple, a banana, or an orange. In total, 20% of the students brought an apple and 35% brought a banana. If 9 students brought oranges, how many students were in the class