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: 'there is a tea pot on the gas range'. Reverse all words of length '3' in the given sentence.

Ex Output:
there is a aet top on eht sag range


Ex Input:
Sentence: 'four cute little ducklings swimming in the water'. Reverse all words of length '6' in the given sentence.

Ex Output:
four cute elttil ducklings swimming in the water


Ex Input:
Sentence: 'three people on a tennis court playing tennis'. Reverse all words of length '6' in the given sentence.

Ex Output:

three elpoep on a sinnet court playing sinnet