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 side way picture of woman dressed in a purple jacket'. Reverse all words of length '1' in the given sentence.

Ex Output:
a side way picture of woman dressed in a purple jacket


Ex Input:
Sentence: 'one white and black sheep and one brown and black sheep'. Reverse all words of length '5' in the given sentence.

Ex Output:
one etihw and kcalb peehs and one nworb and kcalb peehs


Ex Input:
Sentence: 'a man is throwing a frisbee for a dog'. Reverse all words of length '2' in the given sentence.

Ex Output:

a man si throwing a frisbee for a dog