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 man cooks with a pot full of food and water'. Reverse all words of length '3' in the given sentence.
a nam cooks with a top full of food dna water

Sentence: 'a couple of women sitting on a bench with a dog'. Reverse all words of length '4' in the given sentence.
a couple of women sitting on a bench htiw a dog

Sentence: 'a bedroom has a tall brown dresser and a bed'. Reverse all words of length '5' in the given sentence.

a bedroom has a tall nworb dresser and a bed