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 large bird stands on the ledge of a window'. Reverse all words of length '3' in the given sentence.

Ex Output:
a large bird stands on eht ledge of a window


Ex Input:
Sentence: 'a man with a tennis racket gets ready to hit a ball'. Reverse all words of length '5' in the given sentence.

Ex Output:
a man with a tennis racket gets ydaer to hit a ball


Ex Input:
Sentence: 'an adorable leashed dog sitting on a bench'. Reverse all words of length '2' in the given sentence.

Ex Output:

na adorable leashed dog sitting no a bench