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 baseball player sliding to a base and another trying to catch a ball'. Reverse all words of length '8' in the given sentence.

Output: a llabesab player sliding to a base and another trying to catch a ball


Input: Consider Input: Sentence: 'a plate has chicken potatoes and toast on it'. Reverse all words of length '1' in the given sentence.

Output: a plate has chicken potatoes and toast on it


Input: Consider Input: Sentence: 'a man holding a device in both of his hand'. Reverse all words of length '7' in the given sentence.


Output: a man gnidloh a device in both of his hand