Task: Program Execution
Input (English): Sentence: 'a man eating a doughnut while wearing a krispy kreme hat'. How many words end with the letter 'a' in the sentence.
Output (English): 3