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 platform at a train stop with brick style flooring'. Reverse all words of length '2' in the given sentence.

SOLUTION: a train platform ta a train stop with brick style flooring

PROBLEM: Sentence: 'a man riding an elephant plays basketball while others watch'. Reverse all words of length '1' in the given sentence.

SOLUTION: a man riding an elephant plays basketball while others watch

PROBLEM: Sentence: 'a group of people standing in the middle of a walkway'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a group of elpoep standing in the elddim of a walkway