Task: Program Execution
Input (English): Sentence: 'a bird is perched on top of a branch with many leaves'. How many words end with the letter 'a' in the sentence.
Output (English): 2