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 bear in a field next to a pond'. Reverse all words of length '5' in the given sentence.

SOLUTION: a bear in a dleif next to a pond

PROBLEM: Sentence: 'a cat is sitting near an orange wall and orange planter'. Reverse all words of length '7' in the given sentence.

SOLUTION: a cat is gnittis near an orange wall and orange retnalp

PROBLEM: Sentence: 'a green city bus with dolphins on it'. Reverse all words of length '8' in the given sentence.

SOLUTION:
a green city bus with snihplod on it