Task: Program Execution
Input (English): Sentence: 'a cardinal sits on a wooden rail in his home environment'. How many words end with the letter 'n' in the sentence.
Output (English): 3