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: 'three young men on a beach leap toward a frisbee'. Reverse all words of length '1' in the given sentence.
answer:
three young men on a beach leap toward a frisbee


question:
Sentence: 'a cat with a santa hat standing on a rug'. Reverse all words of length '8' in the given sentence.
answer:
a cat with a santa hat gnidnats on a rug


question:
Sentence: 'a man sitting on a bench with two dogs'. Reverse all words of length '5' in the given sentence.
answer:

a man sitting on a hcneb with two dogs