1000 * 1/2 = <<1000*1/2=500>>500 students were taken on a trip to the nearby beach.

So 1000 - 500 = <<1000-500=500>>500 students were not taken to the beach.

Thus, 1/2 * 500 = <<500*1/2=250>>250 students who were not taken to the beach were sent home.

Thus, 500 - 250 = <<500-250=250>>250 students are still in school.

# Answer

250
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
250
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?
train