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 group of people eating a cake on a table'. Reverse all words of length '6' in the given sentence.
[EX A]: a group of elpoep gnitae a cake on a table

[EX Q]: Sentence: 'a woman checks upon a baby in a bed'. Reverse all words of length '1' in the given sentence.
[EX A]: a woman checks upon a baby in a bed

[EX Q]: Sentence: 'happy professional tennis players talking on the court'. Reverse all words of length '3' in the given sentence.
[EX A]:
happy professional tennis players talking on eht court