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 person riding a motorcycle on a road next to bales of straw'. Reverse all words of length '4' in the given sentence.
[EX A]: a person riding a motorcycle on a daor txen to bales of straw

[EX Q]: Sentence: 'several bicycles and a bus parked outside a large building'. Reverse all words of length '7' in the given sentence.
[EX A]: lareves bicycles and a bus parked edistuo a large building

[EX Q]: Sentence: 'the men are walking and riding an elephant down the street'. Reverse all words of length '2' in the given sentence.
[EX A]:
the men are walking and riding na elephant down the street