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 cat has is sticking its head in the toilet'. Reverse all words of length '8' in the given sentence.
[EX A]: a cat has is gnikcits its head in the toilet

[EX Q]: Sentence: 'a person wearing skis turned around in the snow'. Reverse all words of length '1' in the given sentence.
[EX A]: a person wearing skis turned around in the snow

[EX Q]: Sentence: 'a person in a long overcoat sitting outdoors on a wooden bench'. Reverse all words of length '2' in the given sentence.
[EX A]:
a person ni a long overcoat sitting outdoors no a wooden bench