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 small clean unoccupied bathroom on public transportation'. Reverse all words of length '10' in the given sentence.

SOLUTION: a small clean deipucconu bathroom on public transportation

PROBLEM: Sentence: 'a cat with a santa hat standing on a rug'. Reverse all words of length '8' in the given sentence.

SOLUTION: a cat with a santa hat gnidnats on a rug

PROBLEM: Sentence: 'a pitcher throwing a ball to a batter'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a pitcher throwing a ball to a batter