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 train platform at a train stop with brick style flooring'. Reverse all words of length '2' in the given sentence.

Output: a train platform ta a train stop with brick style flooring


Input: Consider Input: Sentence: 'a photo of a glass of wine an apple and a banana'. Reverse all words of length '2' in the given sentence.

Output: a photo fo a glass fo wine na apple and a banana


Input: Consider Input: Sentence: 'a dog curled up sleeping on a bed with pillows'. Reverse all words of length '6' in the given sentence.


Output: a dog delruc up sleeping on a bed with pillows