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 Q]: Sentence: 'a pair of boats are beside each other in the water'. Reverse all words of length '6' in the given sentence.
[EX A]: a pair of boats are ediseb each other in the water

[EX Q]: 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.
[EX A]: eht young nam is setting in eht floor with sih computer rae an outlet

[EX Q]: Sentence: 'a sheep standing next to a baby sheep on a lush green field'. Reverse all words of length '8' in the given sentence.
[EX A]:
a sheep gnidnats next to a baby sheep on a lush green field