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 magazine cover with a surfer carrying a white surfboard'. Reverse all words of length '9' in the given sentence.

SOLUTION: a magazine cover with a surfer carrying a white draobfrus

PROBLEM: Sentence: 'a street performer copying a woman on her phone'. Reverse all words of length '7' in the given sentence.

SOLUTION: a street performer gniypoc a woman on her phone

PROBLEM: Sentence: 'two small children wearing ties sitting on the grass'. Reverse all words of length '8' in the given sentence.

SOLUTION:
two small nerdlihc wearing ties sitting on the grass