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: 'an asian man stands in front of the sink of a messy kitchen and smiles'. Reverse all words of length '4' in the given sentence.

SOLUTION: an asian man stands in front of the knis of a messy kitchen and smiles

PROBLEM: Sentence: 'a man and a dog in the water with a surfboard'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a man and a dog ni the water with a surfboard