Kylar went to the store to buy glasses for his new apartment. One glass costs $5, but every second glass costs only 60% of the price. Kylar wants to buy 16 glasses. How much does he need to pay for them?
The discount price of one glass is 60/100 * 5 = $
<gadget id="calculator">60/100*5</gadget>
<output>3</output>
3.
If every second glass is cheaper, that means Kylar is going to buy 16 / 2 = 
<gadget id="calculator">16/2</gadget>
<output>8</output>
8 cheaper glasses.
So for the cheaper glasses, Kylar is going to pay 8 * 3 = $
<gadget id="calculator">8*3</gadget>
<output>24</output>
24.
And for the regular-priced glasses, Kylar will pay 8 * 5 = $
<gadget id="calculator">8*5</gadget>
<output>40</output>
40.
So in total Kylar needs to pay 24 + 40 = $
<gadget id="calculator">24+40</gadget>
<output>64</output>
64 for the glasses he wants to buy.

<result>64</result>