Task: Program Execution
Input (English): Sentence: 'a guitar on a bed in a room'. How many words end with the letter 'a' in the sentence.
Output (English): 3