The dog barked and wagged its tail.
The dog barked. It wagged its tail.
### Instruction:
Change the points in the given sentence into a single sentence.

### Input:
The dog barked. It wagged its tail.

### Response:
