Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Rewrite the text to avoid any gender bias.

### Input:
The police officer entered the bank and the robbers immediately surrendered.

### Response:
When the police officer entered the bank, the robbers surrendered immediately.