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 a white bath tub under a mirror'. Reverse all words of length '5' in the given sentence.

SOLUTION: a bathroom with a etihw bath tub rednu a mirror

PROBLEM: Sentence: 'a man on skis is under an empty ski lift'. Reverse all words of length '1' in the given sentence.

SOLUTION: a man on skis is under an empty ski lift

PROBLEM: Sentence: 'a man is playing tennis on a gray court'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a man si playing tennis no a gray court