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.

Sentence: 'a cat has is sticking its head in the toilet'. Reverse all words of length '8' in the given sentence.
a cat has is gnikcits its head in the toilet

Sentence: 'an elephant is in a large field standing in the grass'. Reverse all words of length '1' in the given sentence.
an elephant is in a large field standing in the grass

Sentence: 'a man in brown holding a wii remote'. Reverse all words of length '5' in the given sentence.

a man in nworb holding a wii remote