Annie wanted to understand whether students at her school were in favor of an extended school day. She surveyed some students and displayed the results in the table below:


In favor Opposed Undecided
Grade 9 8 4 7
Grade 10 10 9 10
Grade 11 5 18 8
Grade 12 9 5 16


If the principal randomly selects a student in grade 11 from this survey, what is the probability that the student is in favor of extending the school day?

0.05

0.16

0.29

0.50