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.

[EX Q]: Sentence: 'chair and apartment size refrigerator in a small room'. Reverse all words of length '12' in the given sentence.
[EX A]: chair and apartment size rotaregirfer in a small room

[EX Q]: Sentence: 'a man assisting a person on a horse on a race track'. Reverse all words of length '3' in the given sentence.
[EX A]: a nam assisting a person on a horse on a race track

[EX Q]: Sentence: 'a ski slope with lots of people on it'. Reverse all words of length '6' in the given sentence.
[EX A]:
a ski slope with lots of elpoep on it