Task: Program Execution
Input (English): Sentence: 'a teddy bear on the ground in the doorway of a building'. How many words end with the letter 'r' in the sentence.
Output (English): 1