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 shirtless man lays on a bed and smiles'. Reverse all words of length '9' in the given sentence.

A: a sseltrihs man lays on a bed and smiles
****
Q: Sentence: 'a man that is sitting in a field with a phone'. Reverse all words of length '4' in the given sentence.

A: a man taht is sitting in a field htiw a phone
****
Q: Sentence: 'a horse pulling a woman on a steel wagon'. Reverse all words of length '7' in the given sentence.

A:
a horse gnillup a woman on a steel wagon
****