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.

Input: Consider Input: Faye had 46 math problems and 9 science problems for homework . If she finished 40 of the problems at school , how many problems did she have to do for homework ?

Output: 15


Input: Consider Input: A painter needed to paint 6 rooms in a building . Each room takes 5 hours to paint . If he already painted 2 rooms , how much longer will he take to paint the rest ?

Output: 20


Input: Consider Input: A pet store has 6 bird cages . If each cage has 2 parrots and 7 parakeets in it , how many birds does the pet store have total ?


Output: 54