Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a bed with sheets and pillow next to the window with brown curtains

curtains brown with window the to next pillow and sheets with bed a