Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a man in a small motorboat with his dog lying on the bow

bow the on lying dog his with motorboat small a in man a