Task: Program Execution
Input (English): Sentence: 'a man that is smiling and wearing a tie'. How many words end with the letter 'd' in the sentence.
Output (English): 1