Task: Program Execution
Input (English): Sentence: 'a dog sits on top of a bed'. How many words end with the letter 'n' in the sentence.
Output (English): 1