The total cost of Olivia’s groceries was $42. The bananas cost her $12, the bread cost her $9, and the milk cost her $7. The only other groceries she bought were apples. In dollars, how much money did the apples cost her?
The combined cost of the bananas, bread, and milk was 12 + 9 + 7 = $
<gadget id="calculator">12+9+7</gadget>
<output>28</output>
28.
The difference between this and the total is the cost of the apples, which must have therefore cost Olivia 42 - 28 = $
<gadget id="calculator">42-28</gadget>
<output>14</output>
14.

<result>14</result>