gsm8k-0005
1.000
Challenge · difficulty 2/5
# GSM8K Problem 6
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?
Reason step by step, then give ONLY the final answer on the last line as \boxed{ANSWER}.
<!-- imported from openai/gsm8k (test) -->
Proposed solution
Here is the step-by-step solution:
1. **Calculate the price of the discounted glass:**
The regular price of a glass is $5.
Every second glass costs 60% of the regular price.
Discounted price = $5 \times 0.60 = $3$.
2. **Determine the number of glasses at each price:**
Kylar wants to buy 16 glasses.
The pricing pattern alternates: the 1st glass is $5, the 2nd is $3, the 3rd is $5, the 4th is $3, and so on.
Since 16 is an even number, exactly half of the glasses will be at the regular price and half will be at the discounted price.
Number of regular glasses = $16 / 2 = 8$.
Number of discounted glasses = $16 / 2 = 8$.
3. **Calculate the total cost:**
Cost for regular glasses = $8 \text{ glasses} \times \$5/\text{glass} = \$40$.
Cost for discounted glasses = $8 \text{ glasses} \times \$3/\text{glass} = \$24$.
Total cost = $\$40 + \$24 = \$64$.
\boxed{64}