Sophie went to the Dunkin Donuts store and bought 4 boxes of donuts. There were 12 donuts in each box. She gave 1 box to her mom and half a dozen to her sister. How many donuts were left for her?
Sophie has 4 - 1 = 
<gadget id="calculator">4-1</gadget>
<output>3</output>
3 boxes of donuts left.
The total number of pieces of donuts that she has is 3 x 12 = 
<gadget id="calculator">3*12</gadget>
<output>36</output>
36.
She gave 12 / 2 = 
<gadget id="calculator">12/2</gadget>
<output>6</output>
6 donuts to her sister.
Therefore Sophie was left with 36 - 6 = 
<gadget id="calculator">36-6</gadget>
<output>30</output>
30 donuts after giving her sister.

<result>30</result>