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 bird sits atop a post near a boat dock with large boats in the background'. Reverse all words of length '1' in the given sentence.

Ex Output:
a bird sits atop a post near a boat dock with large boats in the background


Ex Input:
Sentence: 'the tour buses are driving away from the building'. Reverse all words of length '5' in the given sentence.

Ex Output:
the tour sesub are driving away from the building


Ex Input:
Sentence: 'a man holding a rope on a board in the water'. Reverse all words of length '7' in the given sentence.

Ex Output:

a man gnidloh a rope on a board in the water