Make the following sentence grammatically correct: the cat was in the basket of the dog.
The cat was in the basket of the dog
The cat was in the dog's basket.
Complete the following task based on the instruction and optional input provided.### Instruction:
Make the following sentence grammatically correct: the cat was in the basket of the dog.

### Input:
The cat was in the basket of the dog

### Output:
The cat was in the dog's basket.