Given the task definition and input, reply with output. In this task, you need to reverse the order of words in the given sentence.

Sentence: a man and a dog walking on a beach near a lot of stacked chairs
chairs stacked of lot a near beach a on walking dog a and man a