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: 'three cows graze on the food that sits just outside their pens'. Reverse all words of length '5' in the given sentence.
eerht cows ezarg on the food that sits just outside rieht pens

Sentence: 'a group of people loading a tour bus'. Reverse all words of length '3' in the given sentence.
a group of people loading a tour sub

Sentence: 'an assortment of chinese dinner options are arranged'. Reverse all words of length '8' in the given sentence.

an assortment of chinese dinner options are degnarra

