A salesman bought a case of 48 sneakers for $576. He sold 17 of them for $20 at a flash sale on Monday, and the rest were sold to a department store for $25 each throughout the rest of the week. How much money, in dollars, was the salesman's profit?
The salesman made 17 * $20 = $
<gadget id="calculator">17*20</gadget>
<output>340</output>
340 at the flash sale on Monday.
There were 48 - 17 = 
<gadget id="calculator">48-17</gadget>
<output>31</output>
31 sneakers left.
At the department store he made 31 * $25 = $
<gadget id="calculator">31*25</gadget>
<output>775</output>
775 throughout the week.
In total he made $340 + $775 = $
<gadget id="calculator">340+775</gadget>
<output>1_115</output>
1115.
The profit made by the salesman was $1115 - $576 = $
<gadget id="calculator">1115-576</gadget>
<output>539</output>
539.

<result>539</result>