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.

Ex Input:
Sentence: 'a green apple and knife on dark wooden stairs'. Reverse all words of length '3' in the given sentence.

Ex Output:
a green apple dna knife on dark wooden stairs


Ex Input:
Sentence: 'a bird sits atop a post near a boat dock with large boats in the background'. Reverse all words of length '1' in the given sentence.

Ex Output:
a bird sits atop a post near a boat dock with large boats in the background


Ex Input:
Sentence: 'a small vegetable pizza rests on a plate'. Reverse all words of length '5' in the given sentence.

Ex Output:

a llams vegetable azzip stser on a etalp