To determine how many students stay for afterschool programs, we need to look at the entries in the 11th and 12th grades for the "Afterschool Programs" column.
From the table:
- 10th grade: 10 students
- 11th grade: 6 students
- 12th grade: 7 students
Now, we can add these numbers together:
10 (10th grade) + 6 (11th grade) + 7 (12th grade) = 23 students
Thus, the number of students who stay for afterschool programs is 23.