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:
sam invited 9 friends to a birthday party but 6 could n't come . if he wanted to buy enough cupcakes so each person could have exactly 2 how many should he buy ?

Ex Output:
6


Ex Input:
mrs. hilt measured the distance from her desk to the water fountain . it was 30 feet . how many feet will mrs. hilt walk on her trips to the fountain if she goes to the water fountain 4 times today ?

Ex Output:
120


Ex Input:
for the final act the circus brought out dancing animals wearing crowns . if each crown is made with 7 different colored feathers how many feathers are needed for 934 crowns ?

Ex Output:

6538