At a school, 40 students were surveyed about how they travel to school.
| Grade | Walks to school | Does not walk to school |
|---|---|---|
| 7 | 12 | 8 |
| 8 | 6 | 14 |
One of the surveyed students who walks to school is selected at random. Which choice gives the probability that the selected student is in grade 7?