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: 'pair of dogs watching television in living area of home'. Reverse all words of length '8' in the given sentence.

Answer: pair of dogs gnihctaw television in living area of home


Question: Sentence: 'two baseball players with long hair and beards are posing with a smile'. Reverse all words of length '1' in the given sentence.

Answer: two baseball players with long hair and beards are posing with a smile


Question: Sentence: 'a person laying on a red surf board while a wave passes'. Reverse all words of length '2' in the given sentence.

Answer:
a person laying no a red surf board while a wave passes