Add punctuation and capitalization to the sentence.
the dog barked
The dog barked.
Complete the following task based on the instruction and optional input provided.### Instruction:
Add punctuation and capitalization to the sentence.

### Input:
the dog barked

### Output:
The dog barked.