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:
While playing at the arcade , Luke won 2 tickets playing ' whack a mole ' and 13 tickets playing ' skee ball ' . If he was trying to buy candy that cost 3 tickets a piece , how many could he buy ?
answer:
5


question:
Edward was trying to expand his game collection . He bought 41 games from a friend and bought 14 more at a garage sale . If 31 of the games did n't work , how many good games did he end up with ?
answer:
24


question:
Nancy picked 12 carrots from her garden . If she threw out 2 of them and then picked 21 more the next day , how many carrots would she have total ?
answer:

31