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 dog curled up sleeping on a bed with pillows'. Reverse all words of length '6' in the given sentence.

Answer: a dog delruc up sleeping on a bed with pillows


Question: Sentence: 'there is a sign stating that there is a scenic drive'. Reverse all words of length '4' in the given sentence.

Answer: there is a ngis stating taht there is a scenic drive


Question: Sentence: 'a plate filled with assorted meat and seafood with corn and a slice of bread'. Reverse all words of length '7' in the given sentence.

Answer:
a plate filled with assorted meat and doofaes with corn and a slice of bread