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: 'someones living room with tiled flooring and a rocking chair'. Reverse all words of length '3' in the given sentence.
[EX A]: someones living room with tiled flooring dna a rocking chair

[EX Q]: Sentence: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.
[EX A]: a dog si sleeping no a boat ni the water

[EX Q]: Sentence: 'two men in baseball uniforms running across a field'. Reverse all words of length '7' in the given sentence.
[EX A]:
two men in baseball uniforms gninnur across a field