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 cat is sitting near an orange wall and orange planter'. Reverse all words of length '7' in the given sentence.

Output: a cat is gnittis near an orange wall and orange retnalp


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: 'a black and white dog in a kitchen next to stove and cabinets'. Reverse all words of length '2' in the given sentence.


Output: a black and white dog ni a kitchen next ot stove and cabinets