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 wearing a vest and tie posing for the camera'. Reverse all words of length '1' in the given sentence.

SOLUTION: a man wearing a vest and tie posing for the camera

PROBLEM: Sentence: 'an asian man stands in front of the sink of a messy kitchen and smiles'. Reverse all words of length '4' in the given sentence.

SOLUTION: an asian man stands in front of the knis of a messy kitchen and smiles

PROBLEM: Sentence: 'a man on a surf board riding a small wave'. Reverse all words of length '1' in the given sentence.

SOLUTION:
a man on a surf board riding a small wave