A mathematics competition featured 50 questions in total. Some questions were worth 5 points each, while the rest were worth 9 points each. If the total possible score for answering all questions correctly was 370 points, exactly how many of the questions were worth 5 points?
- A
20
- B
25
- C
30
- D
35