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 man and women embracing each other in front of trees'. Reverse all words of length '4' in the given sentence.

SOLUTION: a man and women embracing hcae other in front of trees

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: 'two motorcycles driving on road one making a left hand turn'. Reverse all words of length '7' in the given sentence.

SOLUTION:
two motorcycles gnivird on road one making a left hand turn