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: 'a large flock of birds fly through the sky'. Reverse all words of length '3' in the given sentence.
[A]: a large flock of birds ylf through eht yks


[Q]: Sentence: 'a little girl waiting for a piece of cake'. Reverse all words of length '1' in the given sentence.
[A]:
a little girl waiting for a piece of cake