Task: Program Execution
Input (English): Sentence: 'cars speed by as pedestrians foolishly stand in the middle of the road'. How many words end with the letter 'd' in the sentence.
Output (English): 3