Task: Program Execution
Input (English): Sentence: 'man sitting on his bed while using his laptop'. How many words end with the letter 'p' in the sentence.
Output (English): 1