There are 7 sixth graders, 13 seventh graders, and 15 eighth graders in a gym class. The gym teacher randomly selects one student to collect balls. In how many ways can choosing not a seventh grader occur?