Task: Program Execution
Input (English): Sentence: 'two people on a red and black motorcycle and people walking and buildings'. How many words end with the letter 'd' in the sentence.
Output (English): 4