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 cat has is sticking its head in the toilet'. Reverse all words of length '8' in the given sentence.

SOLUTION: a cat has is gnikcits its head in the toilet

PROBLEM: Sentence: 'a sandwich that is on a plate on a table'. Reverse all words of length '8' in the given sentence.

SOLUTION: a hciwdnas that is on a plate on a table

PROBLEM: Sentence: 'a street intersection is crowded with a bus cars and bicyclists'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a street intersection is crowded htiw a bus srac and bicyclists