A concert ticket costs $40. Mr. Benson bought 12 tickets and received a 5% discount for every ticket bought that exceeds 10. How much did Mr. Benson pay in all?
Mr. Benson had a 5% discount for each of the 12 - 10 = 
<gadget id="calculator">12-10</gadget>
<output>2</output>
2 tickets.
So, those two tickets had a $40 x 5/100 = $
<gadget id="calculator">40*5/100</gadget>
<output>2</output>
2 discount each.
Hence, each ticket cost $40 - $2 = $
<gadget id="calculator">40-2</gadget>
<output>38</output>
38 each.
Thus, two discounted tickets amount to $38 x 2 = $
<gadget id="calculator">38*2</gadget>
<output>76</output>
76.
And the other ten tickets amount to $40 x 10 = $
<gadget id="calculator">40*10</gadget>
<output>400</output>
400.
Hence, Mr. Benson paid a total of $400 + $76 = $
<gadget id="calculator">400+76</gadget>
<output>476</output>
476.

<result>476</result>