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 child sits on a chair next to a bear'. Reverse all words of length '5' in the given sentence.

Output: a dlihc sits on a riahc next to a bear


Input: Consider Input: Sentence: 'a cat stinking its tongue out beside food'. Reverse all words of length '1' in the given sentence.

Output: a cat stinking its tongue out beside food


Input: Consider Input: Sentence: 'baseball players playing a baseball game on a baseball field'. Reverse all words of length '8' in the given sentence.


Output: llabesab players playing a llabesab game on a llabesab field