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 row of parked buses sitting in front of a buiding'. Reverse all words of length '6' in the given sentence.
[EX A]: a row of dekrap buses sitting in front of a buiding

[EX Q]: Sentence: 'this cat is sitting on a porch near a tire'. Reverse all words of length '7' in the given sentence.
[EX A]: this cat is gnittis on a porch near a tire

[EX Q]: Sentence: 'two men in military uniforms are carrying luggage'. Reverse all words of length '3' in the given sentence.
[EX A]:
owt nem in military uniforms era carrying luggage