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.

Example Input: Sentence: 'some people sitting on some benches flowers and buildings'. Reverse all words of length '3' in the given sentence.
Example Output: some people sitting on some benches flowers dna buildings

Example Input: Sentence: 'a person at a zoo looking over the fence of a giraffe enclosure'. Reverse all words of length '6' in the given sentence.
Example Output: a nosrep at a zoo looking over the fence of a giraffe enclosure

Example Input: Sentence: 'many people are sitting outside of a local restaurant'. Reverse all words of length '2' in the given sentence.
Example Output:
many people are sitting outside fo a local restaurant