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: 'an elephant is standing in the road by the truck'. Reverse all words of length '5' in the given sentence.

SOLUTION: an elephant is standing in the road by the kcurt

PROBLEM: Sentence: 'there is a bathroom with a oven and a refg'. Reverse all words of length '2' in the given sentence.

SOLUTION: there si a bathroom with a oven and a refg

PROBLEM: Sentence: 'a delicious looking slice of red velvet cake with chocolate frosting'. Reverse all words of length '2' in the given sentence.

SOLUTION:
a delicious looking slice fo red velvet cake with chocolate frosting