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.
--------
Question: Sentence: 'a dog wearing a wooden tie sitting in its masters lap'. Reverse all words of length '1' in the given sentence.

Answer: a dog wearing a wooden tie sitting in its masters lap


Question: Sentence: 'a laptop is sitting on a table with a bottle of coke'. Reverse all words of length '2' in the given sentence.

Answer: a laptop si sitting no a table with a bottle fo coke


Question: Sentence: 'a bedroom has a computer desk and a cat sleeping on the bed'. Reverse all words of length '7' in the given sentence.

Answer:
a moordeb has a computer desk and a cat sleeping on the bed