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 pair of boats are beside each other in the water'. Reverse all words of length '6' in the given sentence.
answer:
a pair of boats are ediseb each other in the water


question:
Sentence: 'a football game on a grassy playing field'. Reverse all words of length '2' in the given sentence.
answer:
a football game no a grassy playing field


question:
Sentence: 'a group of people standing next to a train'. Reverse all words of length '2' in the given sentence.
answer:

a group fo people standing next ot a train