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: 'the man his holding open his suit jacket'. Reverse all words of length '3' in the given sentence.
[EX A]: eht nam sih holding open sih suit jacket

[EX Q]: Sentence: 'there is a dog standing in many leaves holding a frisbee'. Reverse all words of length '8' in the given sentence.
[EX A]:
there is a dog gnidnats in many leaves holding a frisbee