Sam has 18 cows.  5 more than half the cows are black.  How many cows are not black?
Half of the cows: 18/2=
<gadget id="calculator">18/2</gadget>
<output>9</output>
9.
Black cows: 5+9=
<gadget id="calculator">5+9</gadget>
<output>14</output>
14
18-14=
<gadget id="calculator">18-14</gadget>
<output>4</output>
4 cows.

<result>4</result>