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.

Sentence: 'an orange on a counter next to a bottle of alcohol'. Reverse all words of length '7' in the given sentence.
an orange on a retnuoc next to a bottle of lohocla

Sentence: 'the dog looks up at the cat sitting on a stone'. Reverse all words of length '1' in the given sentence.
the dog looks up at the cat sitting on a stone

Sentence: 'two brown houses sitting next to a sandy beach'. Reverse all words of length '2' in the given sentence.

two brown houses sitting next ot a sandy beach