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 hand is holding an iced doughnut with sprinkles'. Reverse all words of length '1' in the given sentence.

SOLUTION: a hand is holding an iced doughnut with sprinkles

PROBLEM: Sentence: 'a decorated kitchen with a potted plant and a metal frog on the wall'. Reverse all words of length '1' in the given sentence.

SOLUTION: a decorated kitchen with a potted plant and a metal frog on the wall

PROBLEM: Sentence: 'a person lies on a bench while crowds mingle behind them'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a person lies on a hcneb elihw crowds mingle behind them