Task: Program Execution
Input (English): Sentence: 'a cow resting on a beach with an island in the background'. How many words end with the letter 'n' in the sentence.
Output (English): 3