Task: Program Execution
Input (English): Sentence: 'a man sitting on top of a picnic table with a dog'. How many words end with the letter 'p' in the sentence.
Output (English): 1