Tom wants to make the world's largest dough ball.  He needs 500 pounds of flour and he can buy 50-pound bags of flour for $20.  He also needs 10 pounds of salt and salt cost $.2 a pound.  He also spends $1000 promoting everything.  He then sells tickets for $20 each and sells 500 tickets.  How much money did he make?
He needs 500/50=
<gadget id="calculator">500/50</gadget>
<output>10</output>
10 bags of flour.
That cost 20*10=$
<gadget id="calculator">20*10</gadget>
<output>200</output>
200.
He needs 10*.2=$
<gadget id="calculator">10*.2</gadget>
<output>2</output>
2 worth of salt.
So everything cost 1000+200+2=$
<gadget id="calculator">1000+200+2</gadget>
<output>1_202</output>
1202.
He makes 20*500=$
<gadget id="calculator">20*500</gadget>
<output>10_000</output>
10,000 selling tickets.
So he makes a profit of 10000-1202=$
<gadget id="calculator">10000-1202</gadget>
<output>8_798</output>
8798.

<result>8_798</result>