instruction:
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 kitchen has a microwave an oven and a countertop'. Reverse all words of length '2' in the given sentence.
answer:
a kitchen has a microwave na oven and a countertop


question:
Sentence: 'an aerial view of a train as it glides across the tracks next to a grassy green mountain'. Reverse all words of length '2' in the given sentence.
answer:

na aerial view fo a train sa ti glides across the tracks next ot a grassy green mountain