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: 'a dog is sleeping on a boat in the water'. Reverse all words of length '2' in the given sentence.

A: a dog si sleeping no a boat ni the water
****
Q: Sentence: 'a bathroom with white toilet and walls and blue accent bars'. Reverse all words of length '5' in the given sentence.

A: a bathroom with etihw toilet and sllaw and blue accent bars
****
Q: Sentence: 'an animal behind a fence next to a tree'. Reverse all words of length '1' in the given sentence.

A:
an animal behind a fence next to a tree
****