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: 'two giraffes standing next to a fence trying to reach the grass'. Reverse all words of length '6' in the given sentence.

SOLUTION: two giraffes standing next to a fence gniyrt to reach the grass

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: 'the city bus is traveling down the road'. Reverse all words of length '3' in the given sentence.

SOLUTION:
eht city sub is traveling down eht road