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 surfer on wave in open water wearing a wet suit'. Reverse all words of length '7' in the given sentence.
a surfer on wave in open water gniraew a wet suit

Sentence: 'a dog is catching a frisbee at a competition'. Reverse all words of length '11' in the given sentence.
a dog is catching a frisbee at a noititepmoc

Sentence: 'a traffic light with road instructions directs traffic'. Reverse all words of length '4' in the given sentence.

a traffic light htiw daor instructions directs traffic