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: 'three people in a dog carrying items walking along the beach'. Reverse all words of length '7' in the given sentence.

SOLUTION: three people in a dog carrying items gniklaw along the beach

PROBLEM: Sentence: 'yachts are all tied up in a marina dock'. Reverse all words of length '3' in the given sentence.

SOLUTION: yachts era lla tied up in a marina dock

PROBLEM: Sentence: 'a couple of giraffes are walking down a path'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a elpuoc of giraffes are walking down a path