Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
For the school bake sale Bianca made 14 cupcakes . If she sold 6 of them and then made 17 more , how many cupcakes would she have ?
Solution: 25
Reason: Total cupcakes she would have = baked - sold = 14 -6 + 17 = 25 

Now, solve this instance: For the school bake sale Katie made pastries . She baked 7 cupcakes and 5 cookies . After the sale she had 8 to take back home . How many pastries did she sell ?
Student:
4