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 riding an elephant plays basketball while others watch'. Reverse all words of length '1' in the given sentence.

Output: a man riding an elephant plays basketball while others watch


Input: Consider Input: Sentence: 'a bathroom with white toilet and walls and blue accent bars'. Reverse all words of length '5' in the given sentence.

Output: a bathroom with etihw toilet and sllaw and blue accent bars


Input: Consider Input: Sentence: 'a giraffe following another giraffe outside in a natural setting'. Reverse all words of length '1' in the given sentence.


Output: a giraffe following another giraffe outside in a natural setting