Task: Program Execution
Input (English): Sentence: 'a teddy bear dressed in a star trek shirt sitting in front of a computer screen'. How many words end with the letter 'r' in the sentence.
Output (English): 3