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.

Q: 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.

A: a bird sits atop a post near a boat dock with large boats in the background
****
Q: Sentence: 'an assortment of chinese dinner options are arranged'. Reverse all words of length '8' in the given sentence.

A: an assortment of chinese dinner options are degnarra
****
Q: Sentence: 'a large grey elephant walking through a dry grass field'. Reverse all words of length '8' in the given sentence.

A:
a large grey tnahpele walking through a dry grass field
****