Task: Program Execution
Input (English): Sentence: 'a chair with a pillow a mirror on the wall and a set of curtains'. How many words end with the letter 'n' in the sentence.
Output (English): 1