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 man watches two giraffes eating from a box'. Reverse all words of length '4' in the given sentence.

Ex Output:
a man watches two giraffes eating morf a box


Ex Input:
Sentence: 'two motorcycles driving on road one making a left hand turn'. Reverse all words of length '7' in the given sentence.

Ex Output:
two motorcycles gnivird on road one making a left hand turn


Ex Input:
Sentence: 'a baseball player swings the bat with great effort'. Reverse all words of length '1' in the given sentence.

Ex Output:

a baseball player swings the bat with great effort