The conversation between human and AI assistant.
[|Human|] Change the points in the given sentence into a single sentence.
[|AI|] The dog barked and wagged its tail.
[|Human|] 
Change the points in the given sentence into a single sentence.