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 group of boys surfing in water'. Reverse all words of length '4' in the given sentence.

SOLUTION: a group of syob surfing in water

PROBLEM: Sentence: 'a sealed green bottle with a note in it'. Reverse all words of length '1' in the given sentence.

SOLUTION: a sealed green bottle with a note in it

PROBLEM: Sentence: 'a dog laying behind a guy on a couch'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a dog laying behind a guy no a couch