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 tennis player is swinging at a tennis ball'. Reverse all words of length '2' in the given sentence.
a tennis player si swinging ta a tennis ball

Sentence: 'two men in baseball uniforms running across a field'. Reverse all words of length '7' in the given sentence.
two men in baseball uniforms gninnur across a field

Sentence: 'a black and white photo of a clock on a tower'. Reverse all words of length '2' in the given sentence.

a black and white photo fo a clock no a tower