Task: Program Execution
Input (English): Sentence: the person and the dog are herding animals in the pen
Output (English): pen the in animals herding are dog the and person the