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 man holding a device in both of his hand'. Reverse all words of length '7' in the given sentence.

Ex Output:
a man gnidloh a device in both of his hand


Ex Input:
Sentence: 'two snowboards attached to feet above snow and trees'. Reverse all words of length '10' in the given sentence.

Ex Output:
two sdraobwons attached to feet above snow and trees


Ex Input:
Sentence: 'a skier skiing down a snowy slope with two poles in hand'. Reverse all words of length '2' in the given sentence.

Ex Output:

a skier skiing down a snowy slope with two poles ni hand