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 group of three men are looking at a motorcycle'. Reverse all words of length '2' in the given sentence.

Ex Output:
a group fo three men are looking ta a motorcycle


Ex Input:
Sentence: 'a male in a white shirt is surfing in some dirt'. Reverse all words of length '2' in the given sentence.

Ex Output:
a male ni a white shirt si surfing ni some dirt


Ex Input:
Sentence: 'a cat sleeping on a couch while holding onto a teddy bear'. Reverse all words of length '3' in the given sentence.

Ex Output:

a tac sleeping on a couch while holding onto a teddy bear