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

A: a nam in a blue shirt is playing tennis
****
Q: Sentence: 'a magazine cover with a surfer carrying a white surfboard'. Reverse all words of length '9' in the given sentence.

A: a magazine cover with a surfer carrying a white draobfrus
****
Q: Sentence: 'a brown dog laying on top of a sandy beach'. Reverse all words of length '5' in the given sentence.

A:
a nworb dog laying on top of a ydnas hcaeb
****