John decides to buy new phones for him, his 2 kids, and his wife.  Each phone after the first 2 is half price.  If the phone price is $600 how much did he pay for them all?
He bought 1+2+1=
<gadget id="calculator">1+2+1</gadget>
<output>4</output>
4 phones
2 of the phones cost 600 so their cost is 2*600=$
<gadget id="calculator">2*600</gadget>
<output>1_200</output>
1200.
The other two phones cost 600/2=$
<gadget id="calculator">600/2</gadget>
<output>300</output>
300.
So they cost 300*2=$
<gadget id="calculator">300*2</gadget>
<output>600</output>
600.
So the total cost is 1200+600=$
<gadget id="calculator">1200+600</gadget>
<output>1_800</output>
1800.

<result>1_800</result>