Definition: In this task, you need to reverse the order of words in the given sentence.
Input: Sentence: a locomotive with three cars filled with people goes over a wooden bridge

bridge wooden a over goes people with filled cars three with locomotive a