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 baby elephant in the middle of a field'. Reverse all words of length '3' in the given sentence.

Ex Output:
a baby elephant in eht middle of a field


Ex Input:
Sentence: 'three people are sitting in the room playing video games'. Reverse all words of length '2' in the given sentence.

Ex Output:
three people are sitting ni the room playing video games


Ex Input:
Sentence: 'a female tennis player is running to catch the ball'. Reverse all words of length '6' in the given sentence.

Ex Output:

a elamef sinnet reyalp is running to catch the ball