Task: Program Execution
Input (English): Sentence: 'a person riding a horse and wearing armor in front of a crowd'. How many words end with the letter 'a' in the sentence.
Output (English): 3