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 man in shorts is swinging a bat'. Reverse all words of length '1' in the given sentence.
[EX A]: a man in shorts is swinging a bat

[EX Q]: Sentence: 'a hand reaching out towards a standing giraffe'. Reverse all words of length '7' in the given sentence.
[EX A]: a hand reaching out sdrawot a standing effarig

[EX Q]: Sentence: 'a zebra is grazing in the grass near some trees'. Reverse all words of length '3' in the given sentence.
[EX A]:
a zebra is grazing in eht grass near some trees

