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 large bird stands on the ledge of a window'. Reverse all words of length '3' in the given sentence.
[EX A]: a large bird stands on eht ledge of a window

[EX Q]: Sentence: 'ladies and mans rest rooms in a public place'. Reverse all words of length '2' in the given sentence.
[EX A]: ladies and mans rest rooms ni a public place

[EX Q]: Sentence: 'two womans soccer teams are competing in a soccer game'. Reverse all words of length '9' in the given sentence.
[EX A]:
two womans soccer teams are gnitepmoc in a soccer game