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: 'there is an entree on a place with spoon'. Reverse all words of length '6' in the given sentence.

SOLUTION: there is an eertne on a place with spoon

PROBLEM: Sentence: 'a shirtless man lays on a bed and smiles'. Reverse all words of length '9' in the given sentence.

SOLUTION: a sseltrihs man lays on a bed and smiles

PROBLEM: Sentence: 'a little boy enjoying a slice of pepperoni pizza in a restaurant'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a little boy enjoying a ecils of pepperoni azzip in a restaurant