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 man is in the air riding a skateboard outside'. Reverse all words of length '2' in the given sentence.

SOLUTION: a man si ni the air riding a skateboard outside

PROBLEM: Sentence: 'a person in bear feet standing on a skateboard'. Reverse all words of length '4' in the given sentence.

SOLUTION: a person in raeb teef standing on a skateboard

PROBLEM: Sentence: 'a man surfing at the beach during the day'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a man surfing at the beach gnirud the day