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 cat with a santa hat standing on a rug'. Reverse all words of length '8' in the given sentence.

Answer: a cat with a santa hat gnidnats on a rug


Question: Sentence: 'there is a group of people standing on the beach'. Reverse all words of length '8' in the given sentence.

Answer: there is a group of people gnidnats on the beach


Question: Sentence: 'a view of an unmade bed with a shirt laid out on it'. Reverse all words of length '6' in the given sentence.

Answer:
a view of an edamnu bed with a shirt laid out on it