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 man cooks with a pot full of food and water'. Reverse all words of length '3' in the given sentence.

Answer: a nam cooks with a top full of food dna water


Question: Sentence: 'a bus sits in front of a building with a parking lot nearby'. Reverse all words of length '7' in the given sentence.

Answer:
a bus sits in front of a building with a gnikrap lot nearby