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 cat is sitting near an orange wall and orange planter'. Reverse all words of length '7' in the given sentence.
[EX A]: a cat is gnittis near an orange wall and orange retnalp

[EX Q]: Sentence: 'a can of pepsi and cellphone on the table'. Reverse all words of length '2' in the given sentence.
[EX A]: a can fo pepsi and cellphone no the table

[EX Q]: Sentence: 'a man on a snowboard posing for a picture'. Reverse all words of length '9' in the given sentence.
[EX A]:
a man on a draobwons posing for a picture