← 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
To solve this problem, we need to calculate the total cost of 16 glasses where every second glass costs 60% of the price of $5.

1. First, let's find out the cost of one second glass: 60% of $5 is (60/100) * $5 = $3.
2. Kylar wants to buy 16 glasses, so there will be 8 glasses that cost $5 and 8 glasses that cost $3.
3. Now, let's calculate the total cost for the $5 glasses: 8 glasses * $5/glass = $40.
4. Next, let's calculate the total cost for the $3 glasses: 8 glasses * $3/glass = $24.
5. Finally, let's add the cost of both types of glasses to find the total amount Kylar needs to pay: $40 + $24 = $64.

The final answer is \boxed{64}.