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 sitting in a boat with a tv'. Reverse all words of length '7' in the given sentence.

Ex Output:
a man gnittis in a boat with a tv


Ex Input:
Sentence: 'an adult goat standing beside its baby goats in a grassy area'. Reverse all words of length '5' in the given sentence.

Ex Output:
an tluda goat standing beside its baby staog in a grassy area


Ex Input:
Sentence: 'a batter and catcher in the middle of a pitch'. Reverse all words of length '6' in the given sentence.

Ex Output:

a rettab and catcher in the elddim of a pitch