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: 'a view of a kitchen with a person cooking some food'. Reverse all words of length '1' in the given sentence.
a view of a kitchen with a person cooking some food

Sentence: 'a group of five people in white snow outfits cross country skiing'. Reverse all words of length '5' in the given sentence.
a puorg of five people in etihw snow outfits ssorc country skiing

Sentence: 'some pillows are stacked next to a bed'. Reverse all words of length '2' in the given sentence.

some pillows are stacked next ot a bed