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 clean bathroom is shown with simple accessories'. Reverse all words of length '5' in the given sentence.

SOLUTION: a naelc bathroom is nwohs with simple accessories

PROBLEM: Sentence: 'three people on a tennis court playing tennis'. Reverse all words of length '6' in the given sentence.

SOLUTION: three elpoep on a sinnet court playing sinnet

PROBLEM: Sentence: 'a statue of a baker is wearing a hat'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a statue of a baker is wearing a hat