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 room with two queen sized beds and a television'. Reverse all words of length '4' in the given sentence.

A: a moor htiw two queen sized sdeb and a television
****
Q: Sentence: 'the bathroom has a toilet a window and a sink'. Reverse all words of length '8' in the given sentence.

A: the moorhtab has a toilet a window and a sink
****
Q: Sentence: 'a person is with a flock of sheep and some cows next to a rustic building'. Reverse all words of length '2' in the given sentence.

A:
a person si with a flock fo sheep and some cows next ot a rustic building
****