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: 'a man riding an elephant plays basketball while others watch'. Reverse all words of length '1' in the given sentence.

Ex Output:
a man riding an elephant plays basketball while others watch


Ex Input:
Sentence: 'a table contains a large square cake decorated with a flower'. Reverse all words of length '4' in the given sentence.

Ex Output:

a table contains a large square ekac decorated htiw a flower