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 giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.

Ex Output:
a giraffe standing next to a leafy tree


Ex Input:
Sentence: 'an old traditional pirate ship in modern city'. Reverse all words of length '3' in the given sentence.

Ex Output:
an dlo traditional pirate ship in modern city


Ex Input:
Sentence: 'a coffee mug has a picture of a penguin on it'. Reverse all words of length '6' in the given sentence.

Ex Output:

a eeffoc mug has a picture of a penguin on it