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.

Input: Consider Input: Sentence: 'a person wearing a black jacket is standing next to a horse'. Reverse all words of length '8' in the given sentence.

Output: a person wearing a black jacket is gnidnats next to a horse


Input: Consider Input: Sentence: 'an umbrella sitting on top of a hill next to a body of water'. Reverse all words of length '4' in the given sentence.

Output: an umbrella sitting on top of a llih txen to a ydob of water


Input: Consider Input: Sentence: 'the small kitchenette has stainless steel appliances'. Reverse all words of length '3' in the given sentence.


Output: eht small kitchenette sah stainless steel appliances