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: 'reflection of window on mirror in dark bathroom'. Reverse all words of length '10' in the given sentence.

SOLUTION: noitcelfer of window on mirror in dark bathroom

PROBLEM: Sentence: 'a kitchen has a microwave an oven and a countertop'. Reverse all words of length '2' in the given sentence.

SOLUTION: a kitchen has a microwave na oven and a countertop

PROBLEM: Sentence: 'the surfer is carrying the surfboard back to shore'. Reverse all words of length '8' in the given sentence.

SOLUTION:
the surfer is gniyrrac the surfboard back to shore