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 view of a kitchen with a person cooking some food'. Reverse all words of length '1' in the given sentence.

SOLUTION: a view of a kitchen with a person cooking some food

PROBLEM: Sentence: 'a window with the curtain drawn facing a brick building'. Reverse all words of length '1' in the given sentence.

SOLUTION: a window with the curtain drawn facing a brick building

PROBLEM: Sentence: 'a large multi layered cake sitting on a sidewalk'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a large multi layered ekac sitting on a sidewalk