Task: Program Execution
Input (English): Sentence: 'a teddy bear is stuffed in a basket that hangs on a rail'. How many words end with the letter 'a' in the sentence.
Output (English): 3