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 cat attentively watching a graphic on a television screen'. Reverse all words of length '7' in the given sentence.
a cat attentively watching a cihparg on a television screen

Sentence: 'a man on a surfboard riding a wave in the ocean'. Reverse all words of length '6' in the given sentence.
a man on a surfboard gnidir a wave in the ocean

Sentence: 'there are several toys that are on the floor'. Reverse all words of length '7' in the given sentence.

there are lareves toys that are on the floor