James has 6 more candies than Robert. John has twice as many candies as Robert. If John has 54 candies, how many more candies does John have than James?
Robert has 54/2 = 
<gadget id="calculator">54/2</gadget>
<output>27</output>
27 candies.
James has 27+6 = 
<gadget id="calculator">27+6</gadget>
<output>33</output>
33 candies.
John has 54-33= 
<gadget id="calculator">54-33</gadget>
<output>21</output>
21 more candies than James.

<result>21</result>