Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a living room that has a table in the middle on a carpet

carpet a on middle the in table a has that room living a