Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: dog in an elf hat and bandanna at a dining room table

table room dining a at bandanna and hat elf an in dog