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

Ex Output:
a nam cooks with a top full of food dna water


Ex Input:
Sentence: 'a small bird sitting on the rim of a fountain'. Reverse all words of length '7' in the given sentence.

Ex Output:
a small bird gnittis on the rim of a fountain


Ex Input:
Sentence: 'a red fire extinguisher across a street from two silver sedans'. Reverse all words of length '3' in the given sentence.

Ex Output:

a der fire extinguisher across a street from owt silver sedans