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 man on a surfboard riding a wave in the ocean'. Reverse all words of length '6' in the given sentence.

Output: a man on a surfboard gnidir a wave in the ocean


Input: Consider Input: Sentence: 'a large bird stands on the ledge of a window'. Reverse all words of length '3' in the given sentence.

Output: a large bird stands on eht ledge of a window


Input: Consider Input: Sentence: 'a white man playing with an elephant outside'. Reverse all words of length '3' in the given sentence.


Output: a white nam playing with an elephant outside