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 woman on the beach getting ready to throw a frisbee'. Reverse all words of length '1' in the given sentence.
[EX A]: a woman on the beach getting ready to throw a frisbee

[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: 'two horses pulling a cart with three people and baggage'. Reverse all words of length '3' in the given sentence.
[EX A]:
owt horses pulling a cart with three people dna baggage