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.

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

Ex Output:
a girl sitting on a kitchen counter gniknird wine


Ex Input:
Sentence: 'a large eared dog sitting on an office chair'. Reverse all words of length '3' in the given sentence.

Ex Output:
a large eared god sitting on an office chair


Ex Input:
Sentence: 'a man standing with his cattle in a field'. Reverse all words of length '2' in the given sentence.

Ex Output:

a man standing with his cattle ni a field