Task: Program Execution
Input (English): Sentence: 'a multicolored train stopped at a passenger terminal'. How many words end with the letter 'r' in the sentence.
Output (English): 1