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 bear in a field next to a pond'. Reverse all words of length '5' in the given sentence.
[A]: a bear in a dleif next to a pond


[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 bunch of pedestrians walk down the street in the rain'. Reverse all words of length '6' in the given sentence.
[A]:
a bunch of pedestrians walk down the teerts in the rain