Task: Program Execution
Input (English): Sentence: 'a book is on a bench beside a cup and pastry'. How many words end with the letter 'a' in the sentence.
Output (English): 3