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 with backpacks on skies moving up a hill'. Reverse all words of length '9' in the given sentence.

SOLUTION: three people with skcapkcab on skies moving up a hill

PROBLEM: Sentence: 'a toilet and a sink in small bathroom'. Reverse all words of length '2' in the given sentence.

SOLUTION: a toilet and a sink ni small bathroom

PROBLEM: Sentence: 'a brown horse is grazing on the grass by itself'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a nworb esroh is grazing on the ssarg by itself