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 person on a surfboard riding a wave in the water'. Reverse all words of length '5' in the given sentence.
answer:
a person on a surfboard riding a wave in the retaw


question:
Sentence: 'a man and a dog in the water with a surfboard'. Reverse all words of length '2' in the given sentence.
answer:
a man and a dog ni the water with a surfboard


question:
Sentence: 'a stuffed teddy bear resting in a chair near a window'. Reverse all words of length '7' in the given sentence.
answer:

a deffuts teddy bear gnitser in a chair near a window