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.

Q: Sentence: 'someone is sitting on a elephant and messing with the seat'. Reverse all words of length '7' in the given sentence.

A: enoemos is gnittis on a elephant and gnissem with the seat
****
Q: Sentence: 'wooden train passing through a forested hilly area'. Reverse all words of length '1' in the given sentence.

A: wooden train passing through a forested hilly area
****
Q: Sentence: 'an assortment of chinese dinner options are arranged'. Reverse all words of length '8' in the given sentence.

A:
an assortment of chinese dinner options are degnarra
****