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: 'the tennis players are participating in a lively match'. Reverse all words of length '6' in the given sentence.

Output: the sinnet players are participating in a ylevil match


Input: Consider Input: Sentence: 'a girl sitting on a kitchen counter drinking wine'. Reverse all words of length '8' in the given sentence.

Output: a girl sitting on a kitchen counter gniknird wine


Input: Consider Input: Sentence: 'a young man is playing with his pet cat'. Reverse all words of length '1' in the given sentence.


Output: a young man is playing with his pet cat