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 black cat sitting on top of a laptop on a table'. Reverse all words of length '5' in the given sentence.

SOLUTION: a kcalb cat sitting on top of a laptop on a elbat

PROBLEM: Sentence: 'a women who is playing tennis on a tennis court'. Reverse all words of length '7' in the given sentence.

SOLUTION: a women who is gniyalp tennis on a tennis court

PROBLEM: Sentence: 'a man plays a game with a wii controller'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a man plays a game with a wii controller