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 that is sitting in a field with a phone'. Reverse all words of length '4' in the given sentence.
a man taht is sitting in a field htiw a phone

Sentence: 'the tennis players are participating in a lively match'. Reverse all words of length '6' in the given sentence.
the sinnet players are participating in a ylevil match

Sentence: 'a player in action at bat in a baseball game'. Reverse all words of length '8' in the given sentence.

a player in action at bat in a llabesab game