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: 'an elderly man in a jacket is walking outside of a window'. Reverse all words of length '3' in the given sentence.
[EX A]: an elderly nam in a jacket is walking outside of a window

[EX Q]: Sentence: 'a small bird sitting on the rim of a fountain'. Reverse all words of length '7' in the given sentence.
[EX A]: a small bird gnittis on the rim of a fountain

[EX Q]: Sentence: 'a street sign lets people know this is a safe passage'. Reverse all words of length '4' in the given sentence.
[EX A]:
a street ngis stel people wonk siht is a efas passage