Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a group of people standing next to horses on a beach

beach a on horses to next standing people of group a