instruction:
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:
Adam had 33 books . If he sold 11 of them and used the money he earned to buy 23 new books , how many books would Adam have ?
answer:
45


question:
Tom bought 12 boxes of chocolate candy and gave 7 to his little brother . If each box has 6 pieces inside it , how many pieces did Tom still have ?
answer:
30


question:
At the fair there were 9 people in line for the bumper cars . If 6 of them got tired of waiting and left and 3 more got in line , how many people would be in line ?
answer:

6