John joins a country club with 3 other members of his family.  The fee to join is $4000 per person.  There is also a monthly cost of $1000 per person.  John pays half the cost.  How much does John pay for the first year?
There are 3+1=
<gadget id="calculator">3+1</gadget>
<output>4</output>
4 members joining.
So the cost is 4*4000=$
<gadget id="calculator">4*4000</gadget>
<output>16_000</output>
16,000 to join.
The monthly fee comes out to 1000*12=$
<gadget id="calculator">1000*12</gadget>
<output>12_000</output>
12,000 per person per year.
So that is 12000*4=$
<gadget id="calculator">12000*4</gadget>
<output>48_000</output>
48,000.
So the total cost is 16,000+48,000=$
<gadget id="calculator">16000+48000</gadget>
<output>64_000</output>
64,000.
So John pays 64000/2=$
<gadget id="calculator">64000/2</gadget>
<output>32_000</output>
32,000.

<result>32_000</result>