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 tennis player is holding a tennis racket with the crowd in the background'. Reverse all words of length '3' in the given sentence.

SOLUTION: a tennis player is holding a tennis racket with eht crowd in eht background

PROBLEM: Sentence: 'airplane flying in front of mountains and clouds'. Reverse all words of length '2' in the given sentence.

SOLUTION: airplane flying ni front fo mountains and clouds

PROBLEM: Sentence: 'a man ties a tan tie while wearing a blue shirt'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a nam ties a nat eit while wearing a blue shirt