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.

[EX Q]: The cafeteria had 47 apples . For lunch they handed out 27 to students and decided to use the rest to make pies . If each pie takes 4 apples , how many pies could they make ?
[EX A]: 5

[EX Q]: John was trying to expand his game collection . He bought 21 games from a friend and bought 8 more at a garage sale . If 23 of the games did n't work , how many good games did he end up with ?
[EX A]: 6

[EX Q]: Mrs. Hilt saw a rollercoaster . 7 students rode the rollercoaster every 5 minutes . How many students rode the rollercoaster in 15 minutes ?
[EX A]:
21