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?
For 5 apples, Mary will pay 5*1= <<5*1=5>>5 dollars.
For 3 oranges, she will pay 3*2= <<3*2=6>>6 dollars.
For 2 bananas, she will pay 2*3 = <<2*3=6>>6 dollars.
She bought 5+3+2=<<5+3+2=10>>10 fruits
For 10 fruits, Mary gets a discount of 10/5 = <<10/5=2>>2 dollars.
In total, the bill is 5 + 6 + 6 = <<5+6+6=17>>17 dollars.
Subtracting the discount offered by the stores, Mary will pay 17 - 2 = <<17-2=15>>15 dollars.
#### 15