Task: Program Execution
Input (English): Sentence: 'a black bear that is standing next to water'. How many words end with the letter 'r' in the sentence.
Output (English): 2