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 toilet and a sink in small bathroom'. Reverse all words of length '2' in the given sentence.

SOLUTION: a toilet and a sink ni small bathroom

PROBLEM: Sentence: 'two hot dogs surrounded with bacon and cheese'. Reverse all words of length '6' in the given sentence.

SOLUTION: two hot dogs surrounded with bacon and eseehc

PROBLEM: Sentence: 'a bird that is standing in front of a plate'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a bird that is standing in front of a plate