A store gives a 10% discount for the amount of the sell that was over $1000.  John buys 7 items that each cost $200.  What does his order cost after the discount?
His order came out to 7*200=$
<gadget id="calculator">7*200</gadget>
<output>1_400</output>
1400.
So there was 1400-1000=$
<gadget id="calculator">1400-1000</gadget>
<output>400</output>
400 that qualified for the discount.
So his discount saved 400*.1=$
<gadget id="calculator">400*.1</gadget>
<output>40</output>
40.
So his purchase came out to 1400-40=$
<gadget id="calculator">1400-40</gadget>
<output>1_360</output>
1360.

<result>1_360</result>