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 man is in the air riding a skateboard outside'. Reverse all words of length '2' in the given sentence.

Ex Output:
a man si ni the air riding a skateboard outside


Ex Input:
Sentence: 'pineapple and hot dog skewers are shown as appetizers'. Reverse all words of length '9' in the given sentence.

Ex Output:
elppaenip and hot dog skewers are shown as appetizers


Ex Input:
Sentence: 'sink with electric toothbrush and toothpaste sitting on the top'. Reverse all words of length '4' in the given sentence.

Ex Output:

knis htiw electric toothbrush and toothpaste sitting on the top