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 cat in a bathroom sitting on a toilet'. Reverse all words of length '3' in the given sentence.

Ex Output:
a tac in a bathroom sitting on a toilet


Ex Input:
Sentence: 'the double decker bus is headed for its destination'. Reverse all words of length '2' in the given sentence.

Ex Output:
the double decker bus si headed for its destination


Ex Input:
Sentence: 'a man riding a surfboard on top of a wave in the ocean'. Reverse all words of length '3' in the given sentence.

Ex Output:

a nam riding a surfboard on pot of a wave in eht ocean