Take this sentence and correct any errors: "The dog barked loudly then ran away"
The dog barked loudly, then ran away.
Complete the following task based on the instruction and optional input provided.### Instruction:
Take this sentence and correct any errors: "The dog barked loudly then ran away"

### Output:
The dog barked loudly, then ran away.