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: 'yachts are all tied up in a marina dock'. Reverse all words of length '3' in the given sentence.

Answer: yachts era lla tied up in a marina dock


Question: Sentence: 'a young brown horse in a blue jacket running in a barn'. Reverse all words of length '4' in the given sentence.

Answer: a young brown horse in a eulb jacket running in a nrab


Question: Sentence: 'a white plate that has a serving of food on it'. Reverse all words of length '2' in the given sentence.

Answer:
a white plate that has a serving fo food no ti