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 young brown horse in a blue jacket running in a barn'. Reverse all words of length '4' in the given sentence.

SOLUTION: a young brown horse in a eulb jacket running in a nrab

PROBLEM: Sentence: 'a cat sleeping with is hear resting on a keyboard'. Reverse all words of length '4' in the given sentence.

SOLUTION: a cat sleeping htiw is raeh resting on a keyboard

PROBLEM: Sentence: 'a shetland pony in a grassy wooded area'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a shetland pony in a grassy wooded area