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: '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: 'two men riding their motorcycles in the street'. Reverse all words of length '3' in the given sentence.

Ex Output:

owt nem riding their motorcycles in eht street