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: 'the man smiles while holding a small boy'. Reverse all words of length '5' in the given sentence.

Ex Output:
the man smiles elihw holding a llams boy


Ex Input:
Sentence: 'people flying kites at the beach on an overcast day'. Reverse all words of length '6' in the given sentence.

Ex Output:
elpoep gniylf kites at the beach on an overcast day


Ex Input:
Sentence: 'a ring that looks like a berry covered caked on a plate'. Reverse all words of length '2' in the given sentence.

Ex Output:

a ring that looks like a berry covered caked no a plate