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 vase with purple sand and flowers inside'. Reverse all words of length '4' in the given sentence.

SOLUTION: a esav htiw purple dnas and flowers inside

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 clock tower sits in the sun on a nice day'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a clock tower sits in eht nus on a nice yad