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 dog curled up sleeping on a bed with pillows'. Reverse all words of length '6' in the given sentence.

Answer: a dog delruc up sleeping on a bed with pillows


Question: Sentence: 'a small kitten figurine on top of a cellphone screen'. Reverse all words of length '6' in the given sentence.

Answer:
a small nettik figurine on top of a cellphone neercs