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 bird sits atop a post near a boat dock with large boats in the background'. Reverse all words of length '1' in the given sentence.
[A]: a bird sits atop a post near a boat dock with large boats in the background


[Q]: Sentence: 'a man in a suit has a phone up to his face'. Reverse all words of length '1' in the given sentence.
[A]: a man in a suit has a phone up to his face


[Q]: Sentence: 'a red electric train traveling down the tracks'. Reverse all words of length '9' in the given sentence.
[A]:
a red electric train gnilevart down the tracks