You are given a math word problem and you are supposed to apply multiplication or division mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Ex Input:
Nancy has 7 black balloons . Mary has 4 times more black balloons than Nancy . How many black balloons does Mary have now ?

Ex Output:
28


Ex Input:
A man starts walking for the first week and walks 10 miles . Every week he increases the distance by 2 miles . How many miles does he walk by the 8th week ?

Ex Output:
24


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

Ex Output:

32