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 white and gray dining and living room area with colorful pillows'. Reverse all words of length '6' in the given sentence.

A: a white and gray gninid and gnivil room area with colorful pillows
****
Q: Sentence: 'a tennis player is swinging at a tennis ball'. Reverse all words of length '2' in the given sentence.

A: a tennis player si swinging ta a tennis ball
****
Q: Sentence: 'a bird perched on a dead tree with wings outstretched looking across water'. Reverse all words of length '5' in the given sentence.

A:
a bird perched on a dead tree with sgniw outstretched looking across retaw
****