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: 'dog lying on bottom of enclosed area with people'. Reverse all words of length '5' in the given sentence.

Ex Output:
dog gniyl on bottom of enclosed area with people


Ex Input:
Sentence: 'a man and a dog in the water with a surfboard'. Reverse all words of length '2' in the given sentence.

Ex Output:
a man and a dog ni the water with a surfboard


Ex Input:
Sentence: 'a toilet is sitting in the grass by the trees'. Reverse all words of length '7' in the given sentence.

Ex Output:

a toilet is gnittis in the grass by the trees