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 bathroom with two doors and both of them are ajar'. Reverse all words of length '4' in the given sentence.

SOLUTION: a bathroom htiw two doors and htob of meht are raja

PROBLEM: Sentence: 'someone is making nachos in the white microwave'. Reverse all words of length '3' in the given sentence.

SOLUTION: someone is making nachos in eht white microwave

PROBLEM: Sentence: 'a group of people on a train platform taking pictures of a departing train'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a group of people on a train platform taking pictures of a departing train