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 red and white jet is taking off and some buildings'. Reverse all words of length '2' in the given sentence.
Example Output: a red and white jet si taking off and some buildings

Example Input: Sentence: 'a man taking a photo of a woman in a pink jacket'. Reverse all words of length '1' in the given sentence.
Example Output:
a man taking a photo of a woman in a pink jacket