You are given a math word problem and you are supposed to apply a single mathematical operator 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.

Example Input: a baker already had 78 cakes but made 9 extra . how many cakes did the baker have total ?
Example Output: 87

Example Input: at the fair dave rode 4 rides the first day he went and 3 rides the second day . how many times did he ride total ?
Example Output: 7

Example Input: amy had some candy . she gave her friend 6 pieces and had 5 left . what 's the difference between of the pieces of candy amy gave away and the left ?
Example Output:
1

