Task: Program Execution
Input (English): Sentence: 'four boats with mast are sailing in the still river'. How many words end with the letter 'r' in the sentence.
Output (English): 2