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: 'two giraffes standing next to a fence trying to reach the grass'. Reverse all words of length '6' in the given sentence.

SOLUTION: two giraffes standing next to a fence gniyrt to reach the grass

PROBLEM: Sentence: 'chair and apartment size refrigerator in a small room'. Reverse all words of length '12' in the given sentence.

SOLUTION: chair and apartment size rotaregirfer in a small room

PROBLEM: Sentence: 'a person at a zoo looking over the fence of a giraffe enclosure'. Reverse all words of length '6' in the given sentence.

SOLUTION:
a nosrep at a zoo looking over the fence of a giraffe enclosure