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: 'two birds standing and sticking their heads in muddy water'. Reverse all words of length '3' in the given sentence.
[EX A]: owt birds standing dna sticking their heads in muddy water

[EX Q]: Sentence: 'an aerial view of a small bathroom stall'. Reverse all words of length '8' in the given sentence.
[EX A]: an aerial view of a small moorhtab stall

[EX Q]: Sentence: 'two cats sit on a bench in opposite directions from each other'. Reverse all words of length '3' in the given sentence.
[EX A]:
owt cats tis on a bench in opposite directions from each other