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 skateboarder riding down a rail during the day'. Reverse all words of length '3' in the given sentence.

SOLUTION: a skateboarder riding down a rail during eht yad

PROBLEM: Sentence: 'a group of birds sitting on a rock near water'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a puorg of sdrib sitting on a rock near retaw