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 dog standing on top of a dirt field next to a frisbee'. Reverse all words of length '4' in the given sentence.

Output: a dog standing on top of a trid field txen to a frisbee


Input: Consider Input: Sentence: 'a white bear stuff toy sitting next to a mini chair and book'. Reverse all words of length '1' in the given sentence.


Output: a white bear stuff toy sitting next to a mini chair and book