Task: Program Execution
Input (English): Sentence: 'a man riding on top of a boat in the water'. How many words end with the letter 'n' in the sentence.
Output (English): 3