Task: Program Execution
Input (English): Sentence: 'a black bear eating a carrot on top of rocks'. How many words end with the letter 'r' in the sentence.
Output (English): 1