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 person is on the court and playing tennis'. Reverse all words of length '3' in the given sentence.

Output: a person is on eht court dna playing tennis


Input: Consider Input: Sentence: 'a double decker tour bus drives down the road with other buses and cars'. Reverse all words of length '5' in the given sentence.

Output: a double decker tour bus drives down the road with rehto sesub and cars


Input: Consider Input: Sentence: 'the long sandwich next to chips is cut into halves'. Reverse all words of length '2' in the given sentence.


Output: the long sandwich next ot chips si cut into halves