Given a sentence and an input, correct the grammar and spelling mistakes in the sentence.
The dog barked loudley at it's foe.
The dog barked loudly at its foe.
Complete the following task based on the instruction and optional input provided.### Instruction:
Given a sentence and an input, correct the grammar and spelling mistakes in the sentence.

### Input:
The dog barked loudley at it's foe.

### Output:
The dog barked loudly at its foe.