A school has 1000 students. Half of the students were taken on a trip to the nearby beach. Half of the remaining students were sent home. How many students are still in the school?
1000 * 1/2 = 
<gadget id="calculator">1000*1/2</gadget>
<output>500</output>
500 students were taken on a trip to the nearby beach.
So 1000 - 500 = 
<gadget id="calculator">1000-500</gadget>
<output>500</output>
500 students were not taken to the beach.
Thus, 1/2 * 500 = 
<gadget id="calculator">500*1/2</gadget>
<output>250</output>
250 students who were not taken to the beach were sent home.
Thus, 500 - 250 = 
<gadget id="calculator">500-250</gadget>
<output>250</output>
250 students are still in school.

<result>250</result>