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 plate has chicken potatoes and toast on it'. Reverse all words of length '1' in the given sentence.
[A]: a plate has chicken potatoes and toast on it


[Q]: Sentence: 'a person on a court with a tennis racket'. Reverse all words of length '6' in the given sentence.
[A]:
a nosrep on a court with a sinnet tekcar