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: '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: 'two people on a motorcycle ride towards the road'. Reverse all words of length '6' in the given sentence.

Answer: two elpoep on a motorcycle ride towards the road


Question: Sentence: 'a young girl in a bright dress rides a horse'. Reverse all words of length '2' in the given sentence.

Answer:
a young girl ni a bright dress rides a horse