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.

Input: Consider Input: Sentence: 'a cat is sitting near an orange wall and orange planter'. Reverse all words of length '7' in the given sentence.

Output: a cat is gnittis near an orange wall and orange retnalp


Input: Consider Input: Sentence: 'the firetruck carried the firefighters to the fire to put the blaze out'. Reverse all words of length '3' in the given sentence.

Output: eht firetruck carried eht firefighters to eht fire to tup eht blaze tuo


Input: Consider Input: Sentence: 'a bird in the muddy sand by the water'. Reverse all words of length '1' in the given sentence.


Output: a bird in the muddy sand by the water