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 shirtless man lays on a bed and smiles'. Reverse all words of length '9' in the given sentence.

Answer: a sseltrihs man lays on a bed and smiles


Question: Sentence: 'a child is smiling for the camera while outside'. Reverse all words of length '1' in the given sentence.

Answer: a child is smiling for the camera while outside


Question: Sentence: 'a sign at a bus stop with routes listed on it'. Reverse all words of length '1' in the given sentence.

Answer:
a sign at a bus stop with routes listed on it