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.

[EX Q]: Sentence: 'a dog lays next to a bag on a couch'. Reverse all words of length '4' in the given sentence.
[EX A]: a dog syal txen to a bag on a couch

[EX Q]: Sentence: 'three people on a tennis court playing tennis'. Reverse all words of length '6' in the given sentence.
[EX A]: three elpoep on a sinnet court playing sinnet

[EX Q]: Sentence: 'brown cat sitting on a carpet in front of a leather suitcase'. Reverse all words of length '1' in the given sentence.
[EX A]:
brown cat sitting on a carpet in front of a leather suitcase