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: 'a man in shorts is swinging a bat'. Reverse all words of length '1' in the given sentence.
[A]: a man in shorts is swinging a bat


[Q]: Sentence: 'a woman on a court with a tennis racket'. Reverse all words of length '1' in the given sentence.
[A]: a woman on a court with a tennis racket


[Q]: Sentence: 'multiple photos of a brown and white kitchen'. Reverse all words of length '7' in the given sentence.
[A]:
multiple photos of a brown and white nehctik