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

Input: Consider Input: Sara picked 35 pears and 27 apples from the orchard . She gave 28 pears to Dan . How many pears does Sara have ?

Output: 7

Input: Consider Input: In Shannon 's apartment complex , 0.16666666666666666 the apartments are one - bedroom apartments and 0.3333333333333333 are two - bedroom apartments . What fraction of the apartments are either 1 - or two - bedroom apartments ?

Output: 0.5

Input: Consider Input: A vase can hold 6 flowers . If you had 7 carnations and 47 roses , how many vases would you need to hold the flowers ?
Output: 9