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: 'pineapple and hot dog skewers are shown as appetizers'. Reverse all words of length '9' in the given sentence.
[EX A]: elppaenip and hot dog skewers are shown as appetizers

[EX Q]: Sentence: 'a window with the curtain drawn facing a brick building'. Reverse all words of length '1' in the given sentence.
[EX A]: a window with the curtain drawn facing a brick building

[EX Q]: Sentence: 'a person wearing high heels sitting on a bicycle'. Reverse all words of length '6' in the given sentence.
[EX A]:
a nosrep wearing high heels sitting on a bicycle