Task: Program Execution
Input (English): Sentence: group of horses and riders at ocean beach
Output (English): beach ocean at riders and horses of group