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.

[Q]: Sentence: 'this goat is standing near a wire fence'. Reverse all words of length '5' in the given sentence.
[A]: this goat is standing near a wire ecnef


[Q]: Sentence: 'there is a bathroom with a oven and a refg'. Reverse all words of length '2' in the given sentence.
[A]: there si a bathroom with a oven and a refg


[Q]: Sentence: 'an american flag kite that is flying in the air'. Reverse all words of length '8' in the given sentence.
[A]:
an nacirema flag kite that is flying in the air