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

Example Input: A treasure hunter discovered a buried treasure chest filled with a total of 5155 gems . 45 of the gems were diamonds , and the rest were rubies . How many of the gems were rubies ?
Example Output: 5110

Example Input: Jovana had 5 pounds of shells in her bucket . She added some shells and now has 28 pounds of shells . How many pounds did she add ?
Example Output: 23

Example Input: Diane has 37 crayons . She gets 5 more from Frances . Later , Diane buys 16 cards at the store . How many crayons does Diane have in all ?
Example Output:
42