Task: Program Execution
Input (English): Sentence: 'a cat sitting on a chair with a pillow behind it'. How many words end with the letter 'a' in the sentence.
Output (English): 3