Task: Program Execution
Input (English): Sentence: 'a man with a beatles haircut wearing a purple tie and a suit'. How many words end with the letter 'a' in the sentence.
Output (English): 4