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.

[Q]: Sentence: 'a side way picture of woman dressed in a purple jacket'. Reverse all words of length '1' in the given sentence.
[A]: a side way picture of woman dressed in a purple jacket


[Q]: Sentence: 'a train billowing smoke as it crosses a river by bridge'. Reverse all words of length '1' in the given sentence.
[A]: a train billowing smoke as it crosses a river by bridge


[Q]: Sentence: 'a man is standing wearing a suit and hat'. Reverse all words of length '7' in the given sentence.
[A]:
a man is standing gniraew a suit and hat