Task: Program Execution
Input (English): Sentence: 'many white and red toilets lined up on a wall'. How many words end with the letter 'd' in the sentence.
Output (English): 3