← run

gsm8k-0005

1.000
1/1 tests· math
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
Let's break down the problem step by step.

1. **Understand the pricing structure:**
   - The first glass costs $5.
   - Every second glass (i.e., the 2nd, 4th, 6th, etc.) costs 60% of the original price.
   - The original price of a glass is $5, so 60% of $5 is \( 0.6 \times 5 = \$3 \).

2. **Determine the number of glasses at each price:**
   - Kylar wants to buy 16 glasses.
   - Out of these 16 glasses, half will be at the original price, and the other half will be at the discounted price.
   - Number of glasses at $5: \( \frac{16}{2} = 8 \) glasses.
   - Number of glasses at $3: \( \frac{16}{2} = 8 \) glasses.

3. **Calculate the total cost:**
   - Cost for the 8 glasses at $5: \( 8 \times 5 = \$40 \).
   - Cost for the 8 glasses at $3: \( 8 \times 3 = \$24 \).
   - Total cost: \( 40 + 24 = \$64 \).

So, Kylar needs to pay \(\boxed{64}\) dollars for the 16 glasses.