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 giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.
[EX A]: a giraffe standing next to a leafy tree

[EX Q]: Sentence: 'competitor preparing to return volley during major tennis tournament'. Reverse all words of length '6' in the given sentence.
[EX A]: competitor preparing to nruter yellov gnirud major sinnet tournament

[EX Q]: Sentence: 'a model of a red cow wearing a pink top hat outside of a building'. Reverse all words of length '7' in the given sentence.
[EX A]:
a model of a red cow gniraew a pink top hat edistuo of a building