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: '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

Sentence: 'a magazine cover with a surfer carrying a white surfboard'. Reverse all words of length '9' in the given sentence.
a magazine cover with a surfer carrying a white draobfrus

Sentence: 'a large metal clock in the middle of a room'. Reverse all words of length '5' in the given sentence.

a egral latem kcolc in the middle of a room