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 child sits on a chair next to a bear'. Reverse all words of length '5' in the given sentence.

Ex Output:
a dlihc sits on a riahc next to a bear


Ex Input:
Sentence: 'a large long bus on the side of the street'. Reverse all words of length '6' in the given sentence.

Ex Output:
a large long bus on the side of the teerts


Ex Input:
Sentence: 'a herd of sheep walking across a lush green field'. Reverse all words of length '7' in the given sentence.

Ex Output:

a herd of sheep gniklaw across a lush green field