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 child sits on a chair next to a bear'. Reverse all words of length '5' in the given sentence.

SOLUTION: a dlihc sits on a riahc next to a bear

PROBLEM: Sentence: 'a man and woman standing with luggage in a waiting area'. Reverse all words of length '7' in the given sentence.

SOLUTION: a man and woman standing with egaggul in a gnitiaw area

PROBLEM: Sentence: 'wild animals are grazing in a green pasture'. Reverse all words of length '1' in the given sentence.

SOLUTION:
wild animals are grazing in a green pasture