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 shirtless man lays on a bed and smiles'. Reverse all words of length '9' in the given sentence.

Ex Output:
a sseltrihs man lays on a bed and smiles


Ex Input:
Sentence: 'a woman taking her surf board into the ocean'. Reverse all words of length '3' in the given sentence.

Ex Output:
a woman taking reh surf board into eht ocean


Ex Input:
Sentence: 'a man standing next to a woman while wearing a skirt'. Reverse all words of length '1' in the given sentence.

Ex Output:

a man standing next to a woman while wearing a skirt