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

[EX Q]: Sentence: 'the bicyclists race toward an old brick church'. Reverse all words of length '2' in the given sentence.
[EX A]: the bicyclists race toward na old brick church

[EX Q]: Sentence: 'a group of chairs are lined up on the beach'. Reverse all words of length '1' in the given sentence.
[EX A]:
a group of chairs are lined up on the beach