Task: Program Execution
Input (English): Sentence: 'a chocolate doughnut on a piece of paper'. How many words end with the letter 'r' in the sentence.
Output (English): 1