Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a man wearing a black hat while talking on a phone

phone a on talking while hat black a wearing man a