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: 'he is a serious baseball player and is ready for the pitch'. Reverse all words of length '5' in the given sentence.
he is a serious baseball player and is ydaer for the hctip

Sentence: 'a man trying to hit a ball that is close to the ground'. Reverse all words of length '1' in the given sentence.
a man trying to hit a ball that is close to the ground

Sentence: 'a silhouette of a horse with the ocean background'. Reverse all words of length '10' in the given sentence.

a etteuohlis of a horse with the ocean dnuorgkcab