You are given a math word problem and you are supposed to apply a single mathematical operator 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: a group of 8 friends were dressing as pirates for halloween . if each costume cost 5 dollars how much did they spend ?

Output: 40

Input: Consider Input: having this kind of collection made jack a fast reader . if he can read 9 books in a day how many books can he read in a year ( a year = 365 days ) ?

Output: 3285

Input: Consider Input: after the day they were able to make 6 institutions happy . if each institution has 80 people . how many people were made happy by the mayor and vice-mayor ?
Output: 480