The conversation between human and AI assistant.
[|Human|] Rearrange the sentence to make the subject of the sentence the last word.
[|AI|] On the bed is sleeping the dog.
[|Human|] 
Rearrange the sentence to make the subject of the sentence the last word.