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: 'dog lying on bottom of enclosed area with people'. Reverse all words of length '5' in the given sentence.

SOLUTION: dog gniyl on bottom of enclosed area with people

PROBLEM: Sentence: 'a cat is playing with the bottom part of the umbrella'. Reverse all words of length '3' in the given sentence.

SOLUTION: a tac is playing with eht bottom part of eht umbrella

PROBLEM: Sentence: 'a red truck carries a load of lumber'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a der truck carries a load of lumber