You are given a math word problem and you are supposed to apply multiple mathematical operators like addition, subtraction, multiplication or division on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Q: The school cafeteria ordered 42 red apples and 7 green apples for students lunches . But , if only 9 students wanted fruit , how many extra did the cafeteria end up with ?

A: 40
****
Q: Ned had to wash 9 short sleeve shirts and 21 long sleeve shirts before school . If he had only washed 29 of them by the time school started , how many did he not wash ?

A: 1
****
Q: Sarah had 4 pages of math homework and 6 pages of reading homework . If each page had 4 problems on it , how many problems did she have to complete total ?

A:
40
****