Task: Program Execution
Input (English): Sentence: 'a man is riding in a carriage pulled by a pony'. How many words end with the letter 'n' in the sentence.
Output (English): 2