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.

Example Input: Sentence: 'the young man is setting in the floor with his computer ear an outlet'. Reverse all words of length '3' in the given sentence.
Example Output: eht young nam is setting in eht floor with sih computer rae an outlet

Example Input: Sentence: 'there are many animals standing on the top of this mountain'. Reverse all words of length '4' in the given sentence.
Example Output: there are ynam animals standing on the top of siht mountain

Example Input: Sentence: 'a herd of elephants walking to the water'. Reverse all words of length '2' in the given sentence.
Example Output:
a herd fo elephants walking ot the water