Task: Program Execution
Input (English): Sentence: a man wearing a cowboy hat and messing with a cow
Output (English): cow a with messing and hat cowboy a wearing man a