Task: Program Execution
Input (English): Sentence: a man with a bald head and a bear wearing a bow tie
Output (English): tie bow a wearing bear a and head bald a with man a