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 dog wearing a wooden tie sitting in its masters lap'. Reverse all words of length '1' in the given sentence.

Ex Output:
a dog wearing a wooden tie sitting in its masters lap


Ex Input:
Sentence: 'two kids playing soccer with a ball while a referee watches closely'. Reverse all words of length '4' in the given sentence.

Ex Output:
two sdik playing soccer htiw a llab while a referee watches closely


Ex Input:
Sentence: 'the train is going down the railroad tracks'. Reverse all words of length '2' in the given sentence.

Ex Output:

the train si going down the railroad tracks