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.

Ex Input:
Sentence: 'a group of men playing on a basketball court next to doors'. Reverse all words of length '3' in the given sentence.

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


Ex Input:
Sentence: 'a young baseball catcher about to throw the ball'. Reverse all words of length '3' in the given sentence.

Ex Output:
a young baseball catcher about to throw eht ball


Ex Input:
Sentence: 'an older gentleman is shown sitting on a motorcycle'. Reverse all words of length '5' in the given sentence.

Ex Output:

an redlo gentleman is nwohs sitting on a motorcycle