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 dog jumping high in the air catching a frisbee in its mouth'. Reverse all words of length '8' in the given sentence.

SOLUTION: a dog jumping high in the air gnihctac a frisbee in its mouth

PROBLEM: Sentence: 'an aboveground subway car on a city street'. Reverse all words of length '6' in the given sentence.

SOLUTION: an aboveground yawbus car on a city teerts

PROBLEM: Sentence: 'a group of people in a room with wine glasses on the tables'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a group of people in a moor htiw eniw glasses on the tables