TASK DEFINITION: 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.
PROBLEM: Sentence: 'an old chair with telephone books on it in a room with guitars and a tv'. Reverse all words of length '7' in the given sentence.

SOLUTION: an old chair with telephone books on it in a room with sratiug and a tv

PROBLEM: Sentence: 'there is a sign stating that there is a scenic drive'. Reverse all words of length '4' in the given sentence.

SOLUTION: there is a ngis stating taht there is a scenic drive

PROBLEM: Sentence: 'a bed and a bathroom through a glass door can be seen'. Reverse all words of length '5' in the given sentence.

SOLUTION:
a bed and a bathroom through a ssalg door can be seen