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.

Sentence: 'a room with a green rug and a daybed'. Reverse all words of length '1' in the given sentence.
a room with a green rug and a daybed

Sentence: 'a man on skis is under an empty ski lift'. Reverse all words of length '1' in the given sentence.
a man on skis is under an empty ski lift

Sentence: 'a bathroom with a phone mounted next to a toilet'. Reverse all words of length '6' in the given sentence.

a bathroom with a phone mounted next to a teliot