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: 'an open fridge with all kinds of food and condiments'. Reverse all words of length '4' in the given sentence.

SOLUTION: an nepo fridge htiw all kinds of doof and condiments

PROBLEM: Sentence: 'a giraffe standing next to a leafy tree'. Reverse all words of length '1' in the given sentence.

SOLUTION: a giraffe standing next to a leafy tree

PROBLEM: Sentence: 'a white and gray dining and living room area with colorful pillows'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a white and gray gninid and gnivil room area with colorful pillows