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 window with the curtain drawn facing a brick building'. Reverse all words of length '1' in the given sentence.

Output: a window with the curtain drawn facing a brick building


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

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


Input: Consider Input: Sentence: 'two trains traveling paralell to one another on train tracks'. Reverse all words of length '8' in the given sentence.


Output: two trains traveling llelarap to one another on train tracks