Edit the following sentences so that they are grammatically correct.
The dog barks all the night
The dog barked all night.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Edit the following sentences so that they are grammatically correct.

### Response:
The dog barked all night.