In this task, you need to reverse the order of words in the given sentence.

Example Input: Sentence: a girl with red hair is wearing a tie
Example Output: tie a wearing is hair red with girl a

Example Input: Sentence: man handling food in a refrigerator next to a table
Example Output: table a to next refrigerator a in food handling man

Example Input: Sentence: a dog resting his head on the edge of the pool next to an apple
Example Output:
apple an to next pool the of edge the on head his resting dog a