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: 'pair of dogs watching television in living area of home'. Reverse all words of length '8' in the given sentence.

Ex Output:
pair of dogs gnihctaw television in living area of home


Ex Input:
Sentence: 'a dog is catching a frisbee at a competition'. Reverse all words of length '11' in the given sentence.

Ex Output:
a dog is catching a frisbee at a noititepmoc


Ex Input:
Sentence: 'a cow figure with sunglasses and baseball mitts on his horns'. Reverse all words of length '1' in the given sentence.

Ex Output:

a cow figure with sunglasses and baseball mitts on his horns