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 group of men playing on a basketball court next to doors'. Reverse all words of length '3' in the given sentence.

Output: a group of nem playing on a basketball court next to doors


Input: Consider Input: Sentence: 'a man trying to hit a ball that is close to the ground'. Reverse all words of length '1' in the given sentence.

Output: a man trying to hit a ball that is close to the ground


Input: Consider Input: Sentence: 'a man is laying in a bed next to a window'. Reverse all words of length '3' in the given sentence.


Output: a nam is laying in a deb next to a window