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 bicycle parked on a bridge next to a marina'. Reverse all words of length '4' in the given sentence.

Ex Output:
a bicycle parked on a bridge txen to a marina


Ex Input:
Sentence: 'three people in a dog carrying items walking along the beach'. Reverse all words of length '7' in the given sentence.

Ex Output:
three people in a dog carrying items gniklaw along the beach


Ex Input:
Sentence: 'an elephant strides through brown grass and trees'. Reverse all words of length '2' in the given sentence.

Ex Output:

na elephant strides through brown grass and trees