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 man is in the air riding a skateboard outside'. Reverse all words of length '2' in the given sentence.

Output: a man si ni the air riding a skateboard outside


Input: Consider Input: Sentence: 'this goat is standing near a wire fence'. Reverse all words of length '5' in the given sentence.

Output: this goat is standing near a wire ecnef


Input: Consider Input: Sentence: 'an image of a herd of cows grazing in the pasture'. Reverse all words of length '3' in the given sentence.


Output: an image of a herd of cows grazing in eht pasture