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: 'three brown horses standing in a green field'. Reverse all words of length '5' in the given sentence.

SOLUTION: eerht nworb horses standing in a neerg dleif

PROBLEM: Sentence: 'a side way picture of woman dressed in a purple jacket'. Reverse all words of length '1' in the given sentence.

SOLUTION: a side way picture of woman dressed in a purple jacket

PROBLEM: Sentence: 'roast beef with gravy broccoli and carrots on a plate'. Reverse all words of length '5' in the given sentence.

SOLUTION:
tsaor beef with yvarg broccoli and carrots on a etalp