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.

Ex Input:
Sentence: 'a baseball player tossing a ball to another player'. Reverse all words of length '2' in the given sentence.

Ex Output:
a baseball player tossing a ball ot another player


Ex Input:
Sentence: 'a gentleman and child in a vintage picture with a horse'. Reverse all words of length '4' in the given sentence.

Ex Output:
a gentleman and child in a vintage picture htiw a horse


Ex Input:
Sentence: 'an orangee truck is waiting to come through the gate'. Reverse all words of length '7' in the given sentence.

Ex Output:

an eegnaro truck is gnitiaw to come hguorht the gate