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: 'the couple are smiling at each other as they sit on a bench'. Reverse all words of length '4' in the given sentence.

Ex Output:
the couple are smiling at hcae other as yeht sit on a bench


Ex Input:
Sentence: 'a group of people eating a cake on a table'. Reverse all words of length '6' in the given sentence.

Ex Output:
a group of elpoep gnitae a cake on a table


Ex Input:
Sentence: 'a man in brown jacket with backpack walking on a street'. Reverse all words of length '5' in the given sentence.

Ex Output:

a man in nworb jacket with backpack walking on a street