Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: two brown dogs seated on a bench with their string

string their with bench a on seated dogs brown two