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 Input:
Paige had 27 files on her computer . She deleted 9 of them and put the rest into folders with 6 files in each one . How many folders did Paige end up with ?

Ex Output:
3


Ex Input:
A chef needs to cook 9 potatoes . He has already cooked 7 . If each potato takes 3 minutes to cook , how long will it take him to cook the rest ?

Ex Output:
6


Ex Input:
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 ?

Ex Output:

24