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 Q]: Sentence: 'a man holding a device in both of his hand'. Reverse all words of length '7' in the given sentence.
[EX A]: a man gnidloh a device in both of his hand

[EX Q]: Sentence: 'a man sitting at a table and looking past the microphone'. Reverse all words of length '4' in the given sentence.
[EX A]: a man sitting at a table and looking tsap the microphone

[EX Q]: Sentence: 'a gray and white cat sitting on top of a table'. Reverse all words of length '7' in the given sentence.
[EX A]:
a gray and white cat gnittis on top of a table