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 man sitting in a boat with a tv'. Reverse all words of length '7' in the given sentence.

SOLUTION: a man gnittis in a boat with a tv

PROBLEM: Sentence: 'one man waves while another rides a skateboard on a ramp'. Reverse all words of length '10' in the given sentence.

SOLUTION: one man waves while another rides a draobetaks on a ramp

PROBLEM: Sentence: 'a mother and child examine a fire hydrant'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a mother and child examine a fire hydrant