Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a boat named after author jr tolkien with a dragon painted on it

it on painted dragon a with tolkien jr author after named boat a