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: 'four cute little ducklings swimming in the water'. Reverse all words of length '6' in the given sentence.

SOLUTION: four cute elttil ducklings swimming in the water

PROBLEM: Sentence: 'a messy bedroom with items covering the floor'. Reverse all words of length '8' in the given sentence.

SOLUTION: a messy bedroom with items gnirevoc the floor

PROBLEM: Sentence: 'an umpire player and catcher standing on a field'. Reverse all words of length '2' in the given sentence.

SOLUTION:
na umpire player and catcher standing no a field