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: 'several stacks of trunks in front of a building'. Reverse all words of length '8' in the given sentence.

Ex Output:
several stacks of trunks in front of a gnidliub


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: 'a cat has is sticking its head in the toilet'. Reverse all words of length '8' in the given sentence.

Ex Output:

a cat has is gnikcits its head in the toilet