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 bathroom with just a toilet and toilet paper'. Reverse all words of length '1' in the given sentence.
[EX A]: a bathroom with just a toilet and toilet paper

[EX Q]: Sentence: 'a sealed green bottle with a note in it'. Reverse all words of length '1' in the given sentence.
[EX A]: a sealed green bottle with a note in it

[EX Q]: Sentence: 'variety of large fishing vessels in dry dock area'. Reverse all words of length '2' in the given sentence.
[EX A]:
variety fo large fishing vessels ni dry dock area