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: 'the three trains are stopped on the railroad tracks'. Reverse all words of length '6' in the given sentence.

SOLUTION: the three sniart are stopped on the railroad skcart

PROBLEM: Sentence: 'a person in a rowboat under an umbrella'. Reverse all words of length '5' in the given sentence.

SOLUTION: a person in a rowboat rednu an umbrella

PROBLEM: Sentence: 'a blueberry crumb cake on a plate laying next to some almonds'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a blueberry crumb ekac on a plate laying txen to emos almonds