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.

Q: Sentence: 'two kids playing soccer with a ball while a referee watches closely'. Reverse all words of length '4' in the given sentence.

A: two sdik playing soccer htiw a llab while a referee watches closely
****
Q: Sentence: 'many pairs of open scissors sit on top of metal poles'. Reverse all words of length '4' in the given sentence.

A: ynam pairs of nepo scissors sit on top of metal poles
****
Q: Sentence: 'the man is taking a picture in the mirror with his phone'. Reverse all words of length '6' in the given sentence.

A:
the man is gnikat a picture in the rorrim with his phone
****