Task: Program Execution
Input (English): Sentence: 'a man in a funny costume poses for a picture'. How many words end with the letter 'r' in the sentence.
Output (English): 1