Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
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?

### Response:
 1000 * 0.5 = <<1000*0.5=500>>500 wanafunzi walipelekwa kwenye ziara ya pwani.
Hivyo, 1000 - 500 = <<1000-500=500>>500 wanafunzi hawakwenda pwani.
Kwa kuwa nusu ya wanafunzi ambao hawakwenda pwani walirudishwa nyumbani, idadi ya wanafunzi waliorudishwa nyumbani ni 1/2 * 500 = <<500*1/2=250>>250.
Jumla ya wanafunzi ambao bado wapo shuleni ni 500 - 250 = <<500-250=250>>250.