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 person wearing a black jacket is standing next to a horse'. Reverse all words of length '8' in the given sentence.

Ex Output:
a person wearing a black jacket is gnidnats next to a horse


Ex Input:
Sentence: 'a computer desk topped with a large monitor'. Reverse all words of length '8' in the given sentence.

Ex Output:
a retupmoc desk topped with a large monitor


Ex Input:
Sentence: 'three people smile while painting a fire hydrant'. Reverse all words of length '4' in the given sentence.

Ex Output:

three people smile while painting a erif hydrant