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: 'the couple are smiling at each other as they sit on a bench'. Reverse all words of length '4' in the given sentence.

Output: the couple are smiling at hcae other as yeht sit on a bench


Input: Consider Input: Sentence: 'a man plays a game with a wii controller'. Reverse all words of length '1' in the given sentence.

Output: a man plays a game with a wii controller


Input: Consider Input: Sentence: 'a very small train on a empty train track'. Reverse all words of length '5' in the given sentence.


Output: a very llams niart on a ytpme niart kcart