Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a dog that is laying down with a party hat on its head

head its on hat party a with down laying is that dog a