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.

Ex Input:
bryan had 8 precious stones in his collection which he sold to his friend from the jewelry store . if the stones were sold at $ 1785 each how much money did bryan get in total ?

Ex Output:
14280


Ex Input:
there are 25 pencils in frances 's pencil collection . if the pencils are organized into 5 groups how big is each group ?

Ex Output:
5


Ex Input:
janet was practicing for a marathon . she practiced for 9 days running 8 miles each day . how many miles did janet run altogether ?

Ex Output:

72