Task: Program Execution
Input (English): Sentence: 'a backpack laptop mouse power cord head phones flash drive dvd and other items'. How many words end with the letter 'r' in the sentence.
Output (English): 2