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.

Sentence: 'two doubledecker buses are parked at a bus stop next to some buildings with another doubledecker bus on the road going the other direction behind them'. Reverse all words of length '1' in the given sentence.
two doubledecker buses are parked at a bus stop next to some buildings with another doubledecker bus on the road going the other direction behind them

Sentence: 'black and silver fire hydrant sitting next to a road'. Reverse all words of length '7' in the given sentence.
black and silver fire tnardyh gnittis next to a road

Sentence: 'a group of three men are looking at a motorcycle'. Reverse all words of length '2' in the given sentence.

a group fo three men are looking ta a motorcycle