Task: Program Execution
Input (English): Sentence: 'a battery mouse stapler an astray and a cup balanced over a book'. How many words end with the letter 'd' in the sentence.
Output (English): 2