Task: Program Execution
Input (English): Sentence: 'a living room has a gold sofa and fireplace'. How many words end with the letter 'a' in the sentence.
Output (English): 3