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 small kitchen with oak cabinets and white appliances'. Reverse all words of length '10' in the given sentence.
answer:
a small kitchen with oak cabinets and white secnailppa


question:
Sentence: 'a cat sits on top of a pile of clothes'. Reverse all words of length '2' in the given sentence.
answer:

a cat sits no top fo a pile fo clothes