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 dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.

Output: a dog si sleeping no a boat ni the water


Input: Consider Input: Sentence: 'three people in uniform are cutting a cake'. Reverse all words of length '4' in the given sentence.

Output: three people in uniform are cutting a ekac


Input: Consider Input: Sentence: 'a person diving forward to catch a frisbee'. Reverse all words of length '2' in the given sentence.


Output: a person diving forward ot catch a frisbee