Task: Program Execution
Input (English): Sentence: a man and woman getting married on the beach
Output (English): beach the on married getting woman and man a