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.

Ex Input:
Sentence: 'a room with two queen sized beds and a television'. Reverse all words of length '4' in the given sentence.

Ex Output:
a moor htiw two queen sized sdeb and a television


Ex Input:
Sentence: 'a cat in a bathroom sitting on a toilet'. Reverse all words of length '3' in the given sentence.

Ex Output:
a tac in a bathroom sitting on a toilet


Ex Input:
Sentence: 'two people are holding rackets upright on a tennis court'. Reverse all words of length '7' in the given sentence.

Ex Output:

two people are gnidloh stekcar thgirpu on a tennis court