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: 'a woman holds a frisbee close by a second woman that is eying the frisbee with an arm held out while two other players stand waiting in the background'. Reverse all words of length '4' in the given sentence.

SOLUTION: a woman holds a frisbee close by a second woman taht is eying the frisbee htiw an arm dleh out while two other players stand waiting in the background

PROBLEM: Sentence: 'teddy bear attached to the front of a trucks grille'. Reverse all words of length '4' in the given sentence.

SOLUTION:
teddy raeb attached to the front of a trucks grille