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.

Example Input: there are 397 butterflies . each butterfly has 12 black dots and 17 yellow dots . how many black dots are there in all ?
Example Output: 4764

Example Input: an architect was building his 2 story house . on the first floor the house had 6 bedrooms and the second floor had 4 bedrooms . how many bedrooms does the house have totaled ?
Example Output: 10

Example Input: there were 6 soccer balls in the bag . coach b. found several additional soccer balls and placed them in the bag . there are now 24 balls in the bag . how many soccer balls did he pick up ?
Example Output:
18