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: 'an assortment of chinese dinner options are arranged'. Reverse all words of length '8' in the given sentence.
[EX A]: an assortment of chinese dinner options are degnarra

[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: 'the person sits with an open umbrella in a pink dress'. Reverse all words of length '2' in the given sentence.
[EX A]:
the person sits with na open umbrella ni a pink dress