Task: Program Execution
Input (English): Sentence: 'a man riding on the back of a brown horse through a forest'. How many words end with the letter 'a' in the sentence.
Output (English): 3