You are given a math word problem and you are supposed to apply multiplication or division mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Ex Input:
Tom bought 14 boxes of chocolate candy and gave 8 to his little brother . If each box has 3 pieces inside it , how many pieces did Tom still have ?

Ex Output:
18

Ex Input:
Frank and his friend were buying trick decks from the magic shop for 7 dollars each . How much did they spend if Frank bought 3 decks and his friend bought 2 decks ?

Ex Output:
35

Ex Input:
There are 397 butterflies . Each butterfly has 12 black dots and 17 yellow dots . How many black dots are there in all ?

Ex Output:
4764