Mary has 26 blue shirts and 36 brown shirts. If she gives away half of her blue shirts and a third of her brown shirts, how many shirts does she have left?
Mary gives away 26/2 = 
<gadget id="calculator">26/2</gadget>
<output>13</output>
13 blue shirts.
Mary gives away 36/3 = 
<gadget id="calculator">36/3</gadget>
<output>12</output>
12 brown shirts.
Mary has 26-13 = 
<gadget id="calculator">26-13</gadget>
<output>13</output>
13 blue shirts left.
Mary has 36-12 = 
<gadget id="calculator">36-12</gadget>
<output>24</output>
24 brown shirts left.
Mary has 13+24 = 
<gadget id="calculator">13+24</gadget>
<output>37</output>
37 shirts left.

<result>37</result>