Task: Program Execution
Input (English): Sentence: a man and a horse standing beside a train on the tracks
Output (English): tracks the on train a beside standing horse a and man a