In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.
--------
Question: Sentence: 'a large eared dog sitting on an office chair'. Reverse all words of length '3' in the given sentence.

Answer: a large eared god sitting on an office chair


Question: Sentence: 'chair and apartment size refrigerator in a small room'. Reverse all words of length '12' in the given sentence.

Answer: chair and apartment size rotaregirfer in a small room


Question: Sentence: 'lights at an intersection on a cloudy evening'. Reverse all words of length '6' in the given sentence.

Answer:
sthgil at an intersection on a yduolc evening