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 man in a blue shirt is playing tennis'. Reverse all words of length '3' in the given sentence.
a nam in a blue shirt is playing tennis

Sentence: 'a couple of men on a court holding tennis rackets'. Reverse all words of length '2' in the given sentence.
a couple fo men no a court holding tennis rackets

Sentence: 'a plate topped with a piece of chocolate cake'. Reverse all words of length '5' in the given sentence.

a etalp topped with a eceip of chocolate cake