A waterpark opens up and charges $30 for admission.  Kids' tickets are half price.  If a group of people brings a soda, they can get 20% off the total price of admission.  Janet gets tickets for 10 people and 4 of them are children.  She buys a soda for $5 to take advantage of the discount for her group.  How much did she pay for everything?
She bought 10-4=
<gadget id="calculator">10-4</gadget>
<output>6</output>
6 adult tickets.
So 6*30=$
<gadget id="calculator">6*30</gadget>
<output>180</output>
180 was the cost for adult tickets.
Children tickets cost 30/2=$
<gadget id="calculator">30/2</gadget>
<output>15</output>
15 each.
So the children tickets cost 15*4=$
<gadget id="calculator">15*4</gadget>
<output>60</output>
60.
So the total cost of tickets is 60+180=$
<gadget id="calculator">60+180</gadget>
<output>240</output>
240.
They get a 240*.2=$
<gadget id="calculator">240*.2</gadget>
<output>48</output>
48 discount.
So the tickets cost 240-48=$
<gadget id="calculator">240-48</gadget>
<output>192</output>
192.
So in total she paid 192+5=$
<gadget id="calculator">192+5</gadget>
<output>197</output>
197.

<result>197</result>