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 table with different dishes of food on it'. Reverse all words of length '4' in the given sentence.

Ex Output:
a table htiw different dishes of doof on it


Ex Input:
Sentence: 'a herd of horses is exercised in the yard led by a man on horseback'. Reverse all words of length '6' in the given sentence.

Ex Output:
a herd of sesroh is exercised in the yard led by a man on horseback


Ex Input:
Sentence: 'the inside of a bathroom leading out to the hall way and a room across'. Reverse all words of length '6' in the given sentence.

Ex Output:

the edisni of a bathroom leading out to the hall way and a room ssorca