Cody and Trevor had 12 sandwiches. Cody ate a third of the sandwiches, and Trevor ate a quarter of the sandwiches. How many sandwiches are left?
Cody ate 12/3=
<gadget id="calculator">12/3</gadget>
<output>4</output>
4 sandwiches.
Trevor ate 12/4=
<gadget id="calculator">12/4</gadget>
<output>3</output>
3 sandwiches.
Cody and Trevor ate 4+3=
<gadget id="calculator">4+3</gadget>
<output>7</output>
7 sandwiches.
There are 12-7=
<gadget id="calculator">12-7</gadget>
<output>5</output>
5 sandwiches left.

<result>5</result>