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: 'the tennis players are participating in a lively match'. Reverse all words of length '6' in the given sentence.
the sinnet players are participating in a ylevil match

Sentence: 'reflection of window on mirror in dark bathroom'. Reverse all words of length '10' in the given sentence.
noitcelfer of window on mirror in dark bathroom

Sentence: 'there is a man and a small child sitting on a bench together'. Reverse all words of length '2' in the given sentence.

there si a man and a small child sitting no a bench together