John's dog has a litter of 8 puppies.  He gives away half of them.  He keeps one of the remaining puppies.  He then takes the remaining puppies and sells them each for $600.  He had to give the owner of the stud $300.  How much money does he profit?
He had 8/2=
<gadget id="calculator">8/2</gadget>
<output>4</output>
4 left after giving some puppies away.
He then keeps one so he sells 4-1=
<gadget id="calculator">4-1</gadget>
<output>3</output>
3 puppies.
That means he made 3*600=$
<gadget id="calculator">3*600</gadget>
<output>1_800</output>
1800.
So his profit was 1800-300=$
<gadget id="calculator">1800-300</gadget>
<output>1_500</output>
1500.

<result>1_500</result>