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 bird sits atop a post near a boat dock with large boats in the background'. Reverse all words of length '1' in the given sentence.

Answer: a bird sits atop a post near a boat dock with large boats in the background


Question: Sentence: 'a large elephant standing in the wild'. Reverse all words of length '5' in the given sentence.

Answer: a egral elephant standing in the wild


Question: Sentence: 'a cat outside on the ground licking it self'. Reverse all words of length '7' in the given sentence.

Answer:
a cat edistuo on the ground gnikcil it self