instruction:
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:
the teacher gave 42 pencils to 12 students equally . how many pencils did each student get ?
answer:
3.5


question:
martha bought 18 small cakes . she has 3 children . she would like to divide the cakes among her children so that each child gets the same amount . how many cakes would each child get ?
answer:
6


question:
there are 124 students making 3 stars each for the school wall . how many stars will they make all together ?
answer:

372