In this task, you need to reverse the order of words in the given sentence.
--------
Question: Sentence: a child reading a book while a cat rests next to her

Answer: her to next rests cat a while book a reading child a


Question: Sentence: a red tower sitting on a farm next to a horse

Answer: horse a to next farm a on sitting tower red a


Question: Sentence: a number of giraffes near one another behind a fence

Answer:
fence a behind another one near giraffes of number a