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: 'the firetruck carried the firefighters to the fire to put the blaze out'. Reverse all words of length '3' in the given sentence.
answer:
eht firetruck carried eht firefighters to eht fire to tup eht blaze tuo


question:
Sentence: 'a cat is sitting near an orange wall and orange planter'. Reverse all words of length '7' in the given sentence.
answer:
a cat is gnittis near an orange wall and orange retnalp


question:
Sentence: 'someone lighting the candles on a little girls birthday cake'. Reverse all words of length '2' in the given sentence.
answer:

someone lighting the candles no a little girls birthday cake