Task: Program Execution
Input (English): Sentence: 'a train carrying many carts sitting on a track'. How many words end with the letter 'n' in the sentence.
Output (English): 2