Task: Program Execution
Input (English): Sentence: 'a batter swings as a catcher prepares to catch a baseball'. How many words end with the letter 'r' in the sentence.
Output (English): 2