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 pinto horse walking in a coral with two people'. Reverse all words of length '2' in the given sentence.
answer:
a pinto horse walking ni a coral with two people


question:
Sentence: 'a couple of men on a court holding tennis rackets'. Reverse all words of length '2' in the given sentence.
answer:
a couple fo men no a court holding tennis rackets


question:
Sentence: 'a person wearing a black jacket is standing next to a horse'. Reverse all words of length '8' in the given sentence.
answer:

a person wearing a black jacket is gnidnats next to a horse