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 train is in a depot at the platform entry'. Reverse all words of length '2' in the given sentence.

SOLUTION: a train si ni a depot ta the platform entry

PROBLEM: Sentence: 'kite flying washington dc with smithsonian and washington monument in background'. Reverse all words of length '11' in the given sentence.

SOLUTION: kite flying washington dc with nainoshtims and washington monument in background

PROBLEM: Sentence: 'the small kitchen has green cabinets and wood floors'. Reverse all words of length '5' in the given sentence.

SOLUTION:
the llams kitchen has neerg cabinets and wood floors