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 red and white jet is taking off and some buildings'. Reverse all words of length '2' in the given sentence.

SOLUTION: a red and white jet si taking off and some buildings

PROBLEM: Sentence: 'a man on a skateboard performing a trick'. Reverse all words of length '10' in the given sentence.

SOLUTION: a man on a draobetaks gnimrofrep a trick

PROBLEM: Sentence: 'a bear is seen eating grass in the foreground of multiple trees'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a bear is seen eating grass in the foreground of multiple trees