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: 'several people enjoying various activities at the beach'. Reverse all words of length '10' in the given sentence.

SOLUTION: several people enjoying various seitivitca at the beach

PROBLEM: Sentence: 'a female tennis player is running to catch the ball'. Reverse all words of length '6' in the given sentence.

SOLUTION: a elamef sinnet reyalp is running to catch the ball

PROBLEM: Sentence: 'people taking pictures of something with their phones'. Reverse all words of length '4' in the given sentence.

SOLUTION:
people taking pictures of something htiw their phones