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.
--------
Question: Sentence: 'a man in shorts is swinging a bat'. Reverse all words of length '1' in the given sentence.

Answer: a man in shorts is swinging a bat


Question: Sentence: 'a man is in the air riding a skateboard outside'. Reverse all words of length '2' in the given sentence.

Answer: a man si ni the air riding a skateboard outside


Question: Sentence: 'a beautiful bird with tan feathers is perusing the landscape'. Reverse all words of length '9' in the given sentence.

Answer:
a lufituaeb bird with tan feathers is perusing the epacsdnal