instruction:
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.
question:
Sentence: 'a cat has is sticking its head in the toilet'. Reverse all words of length '8' in the given sentence.
answer:
a cat has is gnikcits its head in the toilet


question:
Sentence: 'reflection of window on mirror in dark bathroom'. Reverse all words of length '10' in the given sentence.
answer:
noitcelfer of window on mirror in dark bathroom


question:
Sentence: 'some small measuring spoons sit on a table with a bright tablecloth on it'. Reverse all words of length '5' in the given sentence.
answer:

some llams measuring spoons sit on a elbat with a bright tablecloth on it