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.

Sentence: 'a pair of scissors is hanging with a rubber band'. Reverse all words of length '8' in the given sentence.
a pair of srossics is hanging with a rubber band

Sentence: 'someones living room with tiled flooring and a rocking chair'. Reverse all words of length '3' in the given sentence.
someones living room with tiled flooring dna a rocking chair

Sentence: 'a close up of a giraffes head a tree and a hill'. Reverse all words of length '4' in the given sentence.

a close up of a giraffes daeh a eert and a llih