Task: Program Execution
Input (English): Sentence: 'a man wearing a hat standing next to a surfboard'. How many words end with the letter 'a' in the sentence.
Output (English): 3