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 cat has is sticking its head in the toilet'. Reverse all words of length '8' in the given sentence.

Output: a cat has is gnikcits its head in the toilet

Input: Consider Input: Sentence: 'a guy on a surf board by a very big wave'. Reverse all words of length '3' in the given sentence.

Output: a yug on a surf board by a very gib wave

Input: Consider Input: Sentence: 'a kitchen with art and a menu hanging on the wall'. Reverse all words of length '4' in the given sentence.
Output: a kitchen htiw art and a unem hanging on the llaw