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 person riding a motorcycle on a road next to bales of straw'. Reverse all words of length '4' in the given sentence.

SOLUTION: a person riding a motorcycle on a daor txen to bales of straw

PROBLEM: Sentence: 'someone is making nachos in the white microwave'. Reverse all words of length '3' in the given sentence.

SOLUTION: someone is making nachos in eht white microwave

PROBLEM: Sentence: 'a man riding on the back of a brown horse'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a man gnidir on the back of a brown horse