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 Q]: Sentence: 'a red two story bus travels along a road'. Reverse all words of length '5' in the given sentence.
[EX A]: a red two yrots bus travels gnola a road

[EX 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.
[EX A]: a bird sits atop a post near a boat dock with large boats in the background

[EX Q]: Sentence: 'a double decker bus waiting at a bus stop'. Reverse all words of length '3' in the given sentence.
[EX A]:
a double decker sub waiting at a sub stop