Task: Program Execution
Input (English): Sentence: 'a river with rocks in the middle and a train trestle in the background'. How many words end with the letter 'n' in the sentence.
Output (English): 3