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 very small shiny metal cup with some food in it'. Reverse all words of length '4' in the given sentence.
a yrev small shiny metal cup htiw emos doof in it

Sentence: 'a person in full leather riding a motorcycle with a stuff animal on the back'. Reverse all words of length '3' in the given sentence.
a person in full leather riding a motorcycle with a stuff animal on eht back

Sentence: 'a painting of a person walking with a trailing kite'. Reverse all words of length '6' in the given sentence.

a painting of a nosrep walking with a trailing kite