Josh gets together with 7 friends.  Everyone including him puts 5 dollars into a pot.  First place gets 80% of the money.  Second and third place split the rest.  How much money does third place get?
7+1=
<gadget id="calculator">7+1</gadget>
<output>8</output>
8 people threw money into the pot.
So the amount of money in the pot is 8*5=$
<gadget id="calculator">8*5</gadget>
<output>40</output>
40.
First place gets 40*.8=$
<gadget id="calculator">40*.8</gadget>
<output>32</output>
32.
So there is 40-32=$
<gadget id="calculator">40-32</gadget>
<output>8</output>
8 left in the pot after first place gets his cut.
So third place gets 8/2=$
<gadget id="calculator">8/2</gadget>
<output>4</output>
4.

<result>4</result>