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.

Input: Consider Input: Sentence: 'a man in a blue shirt is playing tennis'. Reverse all words of length '3' in the given sentence.

Output: a nam in a blue shirt is playing tennis


Input: Consider Input: Sentence: 'there is a group of people standing on the beach'. Reverse all words of length '8' in the given sentence.

Output: there is a group of people gnidnats on the beach


Input: Consider Input: Sentence: 'a white truck with police lights and markings pulling a horse trailer through a city street'. Reverse all words of length '3' in the given sentence.


Output: a white truck with police lights dna markings pulling a horse trailer through a city street