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: '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: 'a bedroom with clothes scattered everywhere and an unmade bed'. Reverse all words of length '7' in the given sentence.
[EX A]: a moordeb with sehtolc scattered everywhere and an unmade bed

[EX Q]: Sentence: 'two laptop computers on a table attached to mouses'. Reverse all words of length '1' in the given sentence.
[EX A]:
two laptop computers on a table attached to mouses