Task: Program Execution
Input (English): Sentence: a man wearing a black hat while talking on a phone
Output (English): phone a on talking while hat black a wearing man a