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: 'the dog looks up at the cat sitting on a stone'. Reverse all words of length '1' in the given sentence.
[A]: the dog looks up at the cat sitting on a stone


[Q]: Sentence: 'a tennis player is swinging at a tennis ball'. Reverse all words of length '2' in the given sentence.
[A]: a tennis player si swinging ta a tennis ball


[Q]: Sentence: 'a white plate and a slice of cake'. Reverse all words of length '2' in the given sentence.
[A]:
a white plate and a slice fo cake