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 train is in a depot at the platform entry'. Reverse all words of length '2' in the given sentence.
[A]: a train si ni a depot ta the platform entry


[Q]: Sentence: 'a one way sign that is hanging next to a red light in front of a building'. Reverse all words of length '2' in the given sentence.
[A]:
a one way sign that si hanging next ot a red light ni front fo a building