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 small child having his teeth brushed by an adult'. Reverse all words of length '7' in the given sentence.
[EX A]: a small child having his teeth dehsurb by an adult

[EX Q]: Sentence: 'a blue sign sitting on the side of a road next to a tree'. Reverse all words of length '1' in the given sentence.
[EX A]: a blue sign sitting on the side of a road next to a tree

[EX Q]: Sentence: 'the hotdog has slices of tomato and pickle on it'. Reverse all words of length '3' in the given sentence.
[EX A]:
eht hotdog sah slices of tomato dna pickle on it