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 male cow walking down a street with shanties'. Reverse all words of length '7' in the given sentence.

Ex Output:
a male cow gniklaw down a street with shanties


Ex Input:
Sentence: 'the bathroom has a toilet a window and a sink'. Reverse all words of length '8' in the given sentence.

Ex Output:
the moorhtab has a toilet a window and a sink


Ex Input:
Sentence: 'a woman holding up a mirror brushing another womans teeth'. Reverse all words of length '1' in the given sentence.

Ex Output:

a woman holding up a mirror brushing another womans teeth