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{}.
user