Task: Program Execution
Input (English): Sentence: a horse tied to a post next to a tree
Output (English): tree a to next post a to tied horse a