Task: Program Execution
Input (English): Sentence: a dog resting his head on the edge of the pool next to an apple
Output (English): apple an to next pool the of edge the on head his resting dog a