Task: Program Execution
Input (English): Sentence: 'a man holding a cake that has dad spelled on it'. How many words end with the letter 'd' in the sentence.
Output (English): 2