Task: Program Execution
Input (English): Sentence: a dog running along a beach with a man chasing him
Output (English): him chasing man a with beach a along running dog a