Replace all occurrences of the word “cat” with “dog”.
The cat sleeps.
The dog sleeps.
Complete the following task based on the instruction and optional input provided.### Instruction:
Replace all occurrences of the word “cat” with “dog”.

### Input:
The cat sleeps.

### Output:
The dog sleeps.