In a class, there are different types of fruits for the students to eat during snack time. The teacher has the following fruits:
- 12 apples
- 9 bananas
- 7 oranges
- 5 grapes
If the teacher decides to give each student 2 apples, 1 banana, and 1 orange, how many students can receive these fruits before they run out of any type?