Given a text, use the given word to replace another word in the text.
Text: The police are investigating the matter.
Given Word: officers
The officers are investigating the matter.
Complete the following task based on the instruction and optional input provided.### Instruction:
Given a text, use the given word to replace another word in the text.

### Input:
Text: The police are investigating the matter.
Given Word: officers

### Output:
The officers are investigating the matter.