Task: Program Execution
Input (English): Sentence: 'the man is waiting for the train to arrive'. How many words end with the letter 's' in the sentence.
Output (English): 1