In this task, you need to reverse the order of words in the given sentence.

[EX Q]: Sentence: a man and a dog walking on a beach near a lot of stacked chairs
[EX A]: chairs stacked of lot a near beach a on walking dog a and man a

[EX Q]: Sentence: man handling food in a refrigerator next to a table
[EX A]: table a to next refrigerator a in food handling man

[EX Q]: Sentence: a bed sitting in a bedroom next to a painting
[EX A]:
painting a to next bedroom a in sitting bed a