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 wooden bench sits on top of a grass hill'. Reverse all words of length '2' in the given sentence.
[EX A]: a wooden bench sits no top fo a grass hill

[EX Q]: Sentence: 'an oldfashioned safe and roll top desk in a green room'. Reverse all words of length '3' in the given sentence.
[EX A]: an oldfashioned safe dna roll pot desk in a green room

[EX Q]: Sentence: 'a giraffe standing next to a tall tree in front of a major city'. Reverse all words of length '5' in the given sentence.
[EX A]:
a giraffe standing next to a tall tree in tnorf of a rojam city