Task: Program Execution
Input (English): Sentence: 'a dog sleeping on a bed next to a remote control'. How many words end with the letter 'a' in the sentence.
Output (English): 3