Task: Program Execution
Input (English): Sentence: the horse is on the beach near the water
Output (English): water the near beach the on is horse the