Pierre, Paul, and Jacques bought 12 kg of apples. Peter wants a quarter of that and Paul wants 1/3 of that. How many kilograms will James have left?
Peter wants 12 * 1/4 = 
<gadget id="calculator">12*1/4</gadget>
<output>3</output>
3 kg of apples.
Paul wants 12 * 1/3 = 
<gadget id="calculator">12*1/3</gadget>
<output>4</output>
4 kg of apples.
Together, Peter and Paul want a total of 3 + 4 = 
<gadget id="calculator">3+4</gadget>
<output>7</output>
7 kg of apples.
So James will have 12 - 7 = 
<gadget id="calculator">12-7</gadget>
<output>5</output>
5 kg.

<result>5</result>