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 man assisting a person on a horse on a race track'. Reverse all words of length '3' in the given sentence.

Ex Output:
a nam assisting a person on a horse on a race track


Ex Input:
Sentence: 'a heard of animals in a field approaching the water'. Reverse all words of length '11' in the given sentence.

Ex Output:
a heard of animals in a field gnihcaorppa the water


Ex Input:
Sentence: 'a man taking a selfie through a mirror'. Reverse all words of length '7' in the given sentence.

Ex Output:

a man taking a selfie hguorht a mirror