Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a man leaning on a rail with a surfboard next to it

it to next surfboard a with rail a on leaning man a