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


[Q]: Sentence: 'a man being towed behind a boat on a board'. Reverse all words of length '4' in the given sentence.
[A]: a man being towed behind a taob on a board


[Q]: Sentence: 'there are a lot of rotten bananas in the dumpster'. Reverse all words of length '5' in the given sentence.
[A]:
ereht are a lot of rotten bananas in the dumpster