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.
--------
Question: Sentence: 'a child is smiling for the camera while outside'. Reverse all words of length '1' in the given sentence.

Answer: a child is smiling for the camera while outside


Question: Sentence: 'pineapple and hot dog skewers are shown as appetizers'. Reverse all words of length '9' in the given sentence.

Answer: elppaenip and hot dog skewers are shown as appetizers


Question: Sentence: 'two trains sit next to a platform in an outdoor station'. Reverse all words of length '7' in the given sentence.

Answer:
two trains sit next to a platform in an roodtuo noitats