Maria's class was having an end of the school year party. The teacher ordered 6 large pizzas which were cut into 8 slices each. The teacher wants to make sure that each student gets the same amount of pizza. If there are 24 students in the class, how many slices of pizza will each student receive?