In Mary's class, there are 25 students. Their teacher told them they could pay $50 each to finance a big science project that they and their society would benefit greatly from. They all paid the full amount except for 4 students, who paid half. How much was the class able to gather together?
The original amount is $50 so half is $50/2 = $
<gadget id="calculator">50/2</gadget>
<output>25</output>
25
4 students paid half ($25) for a total of 4*$25 = $
<gadget id="calculator">4*25</gadget>
<output>100</output>
100.
There are 25-4 = 
<gadget id="calculator">25-4</gadget>
<output>21</output>
21 students left
21 students paid the full amount ($50) for a total of 21*$50 = $
<gadget id="calculator">21*50</gadget>
<output>1_050</output>
1050.
They were able to gather a total of $100+$1050 = $
<gadget id="calculator">100+1050</gadget>
<output>1_150</output>
1150.

<result>1_150</result>