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.
--------
Question: Tom bought 40 tickets at the state fair . He spent 28 tickets at the ' dunk a clown ' booth and decided to use the rest on rides . If each ride cost 4 tickets , how many rides could he go on ?

Answer: 3


Question: John made 6 dollars mowing lawns and 18 dollars weed eating . If he only spent 3 dollar a week , how long would the money last him ?

Answer: 8


Question: A waiter had 33 customers to wait on . If 31 customers left and he got another 26 customers , how many customers would he have ?

Answer:
28