Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a man carrying his luggage was waiting on a train

train a on waiting was luggage his carrying man a