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.

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

Example Input: Sentence: 'two people on a motorcycle ride towards the road'. Reverse all words of length '6' in the given sentence.
Example Output: two elpoep on a motorcycle ride towards the road

Example Input: Sentence: 'a man in a blue shirt preparing to throw a frisbee'. Reverse all words of length '9' in the given sentence.
Example Output:
a man in a blue shirt gniraperp to throw a frisbee