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 bent in half street sign next to a brick building'. Reverse all words of length '1' in the given sentence.

SOLUTION: a bent in half street sign next to a brick building

PROBLEM: Sentence: 'a vintage photo of a man riding an old motorcycle'. Reverse all words of length '7' in the given sentence.

SOLUTION: a egatniv photo of a man riding an old motorcycle

PROBLEM: Sentence: 'a man and woman preparing a meal in a skillet'. Reverse all words of length '4' in the given sentence.

SOLUTION:
a man and woman preparing a laem in a skillet