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 gray tiger cat sitting on top of a chair'. Reverse all words of length '3' in the given sentence.

Answer: a gray tiger tac sitting on pot of a chair


Question: Sentence: 'a yellow bird that is on a branch'. Reverse all words of length '1' in the given sentence.

Answer: a yellow bird that is on a branch


Question: Sentence: 'a snowboarder is mid air on the slope'. Reverse all words of length '3' in the given sentence.

Answer:
a snowboarder is dim ria on eht slope