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 herd of horses is exercised in the yard led by a man on horseback'. Reverse all words of length '6' in the given sentence.

SOLUTION: a herd of sesroh is exercised in the yard led by a man on horseback

PROBLEM: Sentence: 'computer with an extra monitor with bright green screens'. Reverse all words of length '2' in the given sentence.

SOLUTION: computer with na extra monitor with bright green screens

PROBLEM: Sentence: 'a green double decker tour bus advertises a hamburger tour'. Reverse all words of length '9' in the given sentence.

SOLUTION:
a green double decker tour bus advertises a regrubmah tour