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 are many animals standing on the top of this mountain'. Reverse all words of length '4' in the given sentence.

SOLUTION: there are ynam animals standing on the top of siht mountain

PROBLEM: Sentence: 'a room with two queen sized beds and a television'. Reverse all words of length '4' in the given sentence.

SOLUTION: a moor htiw two queen sized sdeb and a television

PROBLEM: Sentence: 'a black bear standing on its hind legs in a rocky area'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a black bear standing no its hind legs ni a rocky area