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: '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: 'read clocktower on the side of a water body'. Reverse all words of length '3' in the given sentence.

Ex Output:
read clocktower on eht side of a water body


Ex Input:
Sentence: 'a person with a baseball bat and a hat'. Reverse all words of length '1' in the given sentence.

Ex Output:

a person with a baseball bat and a hat