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 plate has chicken potatoes and toast on it'. Reverse all words of length '1' in the given sentence.

Ex Output:
a plate has chicken potatoes and toast on it


Ex Input:
Sentence: 'a slice of pizza on top of a white plate'. Reverse all words of length '3' in the given sentence.

Ex Output:
a slice of pizza on pot of a white plate


Ex Input:
Sentence: 'a man on a surfboard riding a wave in the ocean'. Reverse all words of length '6' in the given sentence.

Ex Output:

a man on a surfboard gnidir a wave in the ocean