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 kitchen has a microwave an oven and a countertop'. Reverse all words of length '2' in the given sentence.
a kitchen has a microwave na oven and a countertop

Sentence: 'airplane flying in front of mountains and clouds'. Reverse all words of length '2' in the given sentence.
airplane flying ni front fo mountains and clouds

Sentence: 'a giant bed sitting in the corner of a room'. Reverse all words of length '4' in the given sentence.

a giant bed sitting in the corner of a moor