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: 'a train billowing smoke as it crosses a river by bridge'. Reverse all words of length '1' in the given sentence.

Output: a train billowing smoke as it crosses a river by bridge


Input: Consider Input: Sentence: 'a young boy stands next to a row of parked motorcycles'. Reverse all words of length '4' in the given sentence.


Output: a young boy stands txen to a row of parked motorcycles