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.
--------
Question: when she got to school she saw that the school is composed of 9 buildings each having 30 classrooms . how many classrooms does the school have ?

Answer: 270


Question: billy bought 5 boxes of books at a yard sale . if each box had 7 books how many books did he buy ?

Answer: 35


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

Answer:
4764