Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: the person and the dog are herding animals in the pen

pen the in animals herding are dog the and person the