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 leaning forward as he swings a tennis racket'. Reverse all words of length '2' in the given sentence.

Ex Output:
a man leaning forward sa eh swings a tennis racket


Ex Input:
Sentence: 'one man waves while another rides a skateboard on a ramp'. Reverse all words of length '10' in the given sentence.

Ex Output:
one man waves while another rides a draobetaks on a ramp


Ex Input:
Sentence: 'a group of people standing around each other next to a train'. Reverse all words of length '2' in the given sentence.

Ex Output:

a group fo people standing around each other next ot a train