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.

Input: Consider Input: Sentence: 'a very small shiny metal cup with some food in it'. Reverse all words of length '4' in the given sentence.

Output: a yrev small shiny metal cup htiw emos doof in it

Input: Consider Input: Sentence: 'a snowboarder descending a snowpacked slope on a wintry day'. Reverse all words of length '2' in the given sentence.

Output: a snowboarder descending a snowpacked slope no a wintry day

Input: Consider Input: Sentence: 'teddy bears having a picnic of lamingtons and cup cakes'. Reverse all words of length '1' in the given sentence.
Output: teddy bears having a picnic of lamingtons and cup cakes