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: 'an old traditional pirate ship in modern city'. Reverse all words of length '3' in the given sentence.
answer:
an dlo traditional pirate ship in modern city


question:
Sentence: 'a bent in half street sign next to a brick building'. Reverse all words of length '1' in the given sentence.
answer:
a bent in half street sign next to a brick building


question:
Sentence: 'cars driving through a green traffic light'. Reverse all words of length '4' in the given sentence.
answer:

srac driving through a green traffic light