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 group of men playing on a basketball court next to doors'. Reverse all words of length '3' in the given sentence.

SOLUTION: a group of nem playing on a basketball court next to doors

PROBLEM: Sentence: 'a red double decker bus parked in front of a building'. Reverse all words of length '1' in the given sentence.

SOLUTION: a red double decker bus parked in front of a building

PROBLEM: Sentence: 'a young boy sitting in front of a cake on a table'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a young yob sitting in front of a cake on a table