Task: Program Execution
Input (English): Sentence: 'a beach with various people in water or flying kites'. How many words end with the letter 'r' in the sentence.
Output (English): 2