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: 'one white and black sheep and one brown and black sheep'. Reverse all words of length '5' in the given sentence.
[A]: one etihw and kcalb peehs and one nworb and kcalb peehs


[Q]: Sentence: 'a man leaning forward as he swings a tennis racket'. Reverse all words of length '2' in the given sentence.
[A]: a man leaning forward sa eh swings a tennis racket


[Q]: Sentence: 'a dog sitting on a bed next to a night table'. Reverse all words of length '3' in the given sentence.
[A]:
a god sitting on a deb next to a night table