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.

Ex Input:
Sentence: 'a birthday cake cut in different pieces sitting on a tray at a table'. Reverse all words of length '1' in the given sentence.

Ex Output:
a birthday cake cut in different pieces sitting on a tray at a table


Ex Input:
Sentence: 'yogurt bananas and grapes stand ready to make a smoothie'. Reverse all words of length '7' in the given sentence.

Ex Output:
yogurt sananab and grapes stand ready to make a smoothie


Ex Input:
Sentence: 'a black motorcycle with a gargoyle painted on it'. Reverse all words of length '2' in the given sentence.

Ex Output:

a black motorcycle with a gargoyle painted no ti