Mary went to the store to buy fruit. Apples cost $1, oranges cost $2, and bananas cost $3. For every 5 fruits that customers buy, the store offers a $1 discount. Mary buys 5 apples, 3 oranges, and 2 bananas. How much will she pay? Think carefully first, then make a decision:
User
For 5 apples, Mary will pay 5 * 1 = 5 dollars. For 3 oranges, she will pay 3 * 2 = 6 dollars. For 2 bananas, she will pay 2 * 3 = 6 dollars. She bought 5 + 3 + 2 = 10 fruits. For 10 fruits, Mary gets a discount of 10 / 5 = 2 dollars. In total, the bill is 5 + 6 + 6 = 17 dollars. Subtracting the discount offered by the stores, Mary will pay 17 - 2 = 15 dollars. So, the answer is 15.
Assistant