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 small plane sitting on top of a tarmac'. Reverse all words of length '2' in the given sentence.

Ex Output:
a small plane sitting no top fo a tarmac


Ex Input:
Sentence: 'pictures a candle a single flower and a stuffed bear on a table'. Reverse all words of length '6' in the given sentence.

Ex Output:
pictures a eldnac a elgnis rewolf and a stuffed bear on a table


Ex Input:
Sentence: 'the firetruck carried the firefighters to the fire to put the blaze out'. Reverse all words of length '3' in the given sentence.

Ex Output:

eht firetruck carried eht firefighters to eht fire to tup eht blaze tuo