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

<result>15</result>