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: 'two kids playing soccer with a ball while a referee watches closely'. Reverse all words of length '4' in the given sentence.
two sdik playing soccer htiw a llab while a referee watches closely

Sentence: 'a young teenage girl practicing skiing on small waves'. Reverse all words of length '2' in the given sentence.
a young teenage girl practicing skiing no small waves

Sentence: 'several girls are playing with a frisbee while others watch'. Reverse all words of length '6' in the given sentence.

several girls are playing with a frisbee while srehto watch