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: '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 group of sheep graze in a grassy field'. Reverse all words of length '2' in the given sentence.

SOLUTION: a group fo sheep graze ni a grassy field

PROBLEM: Sentence: 'a pile of blood oranges with one orange cut in half'. Reverse all words of length '3' in the given sentence.

SOLUTION:
a pile of blood oranges with eno orange tuc in half