Task: Program Execution
Input (English): Sentence: 'a swan sitting on the water with a rock beach in the background'. How many words end with the letter 'n' in the sentence.
Output (English): 3