Task: Program Execution
Input (English): Sentence: a boat floating on a river next to a city
Output (English): city a to next river a on floating boat a