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

SOLUTION: a surfer on wave in open water gniraew a wet suit

PROBLEM: Sentence: 'a man wearing a vest and tie posing for the camera'. Reverse all words of length '1' in the given sentence.

SOLUTION: a man wearing a vest and tie posing for the camera

PROBLEM: Sentence: 'a traffic light in front of a motel sign'. Reverse all words of length '7' in the given sentence.

SOLUTION:
a ciffart light in front of a motel sign