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: 'there is a large black bear that is siting on a rock'. Reverse all words of length '5' in the given sentence.

SOLUTION: ereht is a egral kcalb bear that is siting on a rock

PROBLEM: Sentence: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.

SOLUTION: a dog si sleeping no a boat ni the water

PROBLEM: Sentence: 'pitcher winding up to throw a ball during a baseball game'. Reverse all words of length '4' in the given sentence.

SOLUTION:
pitcher winding up to throw a llab during a baseball emag