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: 'a man riding an elephant plays basketball while others watch'. Reverse all words of length '1' in the given sentence.
[A]: a man riding an elephant plays basketball while others watch


[Q]: Sentence: 'a dog jumping high in the air catching a frisbee in its mouth'. Reverse all words of length '8' in the given sentence.
[A]: a dog jumping high in the air gnihctac a frisbee in its mouth


[Q]: Sentence: 'a woman is hanging up post it notes in a kitchen'. Reverse all words of length '5' in the given sentence.
[A]:
a namow is hanging up post it seton in a kitchen