Task: Program Execution
Input (English): Sentence: 'a persons legs stretched out on a bed as a person watches television in a darkened bedroom'. Reverse all words of length '9' in the given sentence.
Output (English): a persons legs dehcterts out on a bed as a person watches television in a darkened bedroom