Task: Program Execution
Input (English): Sentence: 'a man riding a motorcycle on the beach'. How many words end with the letter 'a' in the sentence.
Output (English): 2