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.

Q: Sentence: 'a girl is holding a trophy and a tennis racket'. Reverse all words of length '4' in the given sentence.

A: a lrig is holding a trophy and a tennis racket
****
Q: Sentence: 'a young man is sitting on the side of a bus eating a hot dog'. Reverse all words of length '3' in the given sentence.

A: a young nam is sitting on eht side of a sub eating a toh god
****
Q: Sentence: 'three boxes of leftover pizza on table with cups'. Reverse all words of length '4' in the given sentence.

A:
three boxes of leftover pizza on table htiw spuc
****