Task: Program Execution
Input (English): Sentence: 'the train is carrying both bodies and soldiers'. How many words end with the letter 'n' in the sentence.
Output (English): 1