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 tennis player is swinging at a tennis ball'. Reverse all words of length '2' in the given sentence.

Answer: a tennis player si swinging ta a tennis ball


Question: Sentence: 'a white and gray dining and living room area with colorful pillows'. Reverse all words of length '6' in the given sentence.

Answer: a white and gray gninid and gnivil room area with colorful pillows


Question: Sentence: 'a dog stands in a kitchen in anticipation of a treat'. Reverse all words of length '6' in the given sentence.

Answer:
a dog sdnats in a kitchen in anticipation of a treat