John buys 1.5 ounces of silver and twice as much gold.  The silver costs $20 per ounce.  The gold is 50 times more expensive per ounce.  How much does he spend on everything?
He buys the silver for 1.5*$20=$
<gadget id="calculator">1.5*20</gadget>
<output>30</output>
30.
He bought 1.5*2=
<gadget id="calculator">1.5*2</gadget>
<output>3</output>
3 ounces of gold.
The gold is worth %20*50=$
<gadget id="calculator">20*50</gadget>
<output>1_000</output>
1000 per ounce.
So he buys 3*$1000=$
<gadget id="calculator">3*1000</gadget>
<output>3_000</output>
3000 on gold.
So he spent $30+$3000=$
<gadget id="calculator">30+3000</gadget>
<output>3_030</output>
3030 on everything.

<result>3_030</result>