The table shown summarizes the number of hours spent studying per week by each of the 25 students in a class.
| Number of hours | Number of students |
|---|---|
| 0 to 5 | 3 |
| 6 to 10 | 7 |
| 11 to 15 | 8 |
| 16 to 20 | 5 |
| 21 to 25 | 2 |
Which of the following could be the median number of hours spent studying for the students in this class?
7
10
12
16