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: 'two people are holding rackets upright on a tennis court'. Reverse all words of length '7' in the given sentence.
[EX A]: two people are gnidloh stekcar thgirpu on a tennis court

[EX Q]: Sentence: 'a triangular grouping of jet planes flying in the sky'. Reverse all words of length '3' in the given sentence.
[EX A]: a triangular grouping of tej planes flying in eht yks

[EX Q]: Sentence: 'a sandwich with chicken and lettuce is on the table'. Reverse all words of length '8' in the given sentence.
[EX A]:
a hciwdnas with chicken and lettuce is on the table