Task: Program Execution
Input (English): Sentence: 'two planes flying in different directions crossing each other'. How many words end with the letter 'r' in the sentence.
Output (English): 1