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.

Sentence: 'a bathroom with white toilet and walls and blue accent bars'. Reverse all words of length '5' in the given sentence.
a bathroom with etihw toilet and sllaw and blue accent bars

Sentence: 'a plate has chicken potatoes and toast on it'. Reverse all words of length '1' in the given sentence.
a plate has chicken potatoes and toast on it

Sentence: 'a delicious single pizza on a pizza pan waiting for someone to taste it'. Reverse all words of length '7' in the given sentence.

a delicious single pizza on a pizza pan gnitiaw for enoemos to taste it