Task: Program Execution
Input (English): Sentence: 'three men talking while sitting on the coach'. How many words end with the letter 'g' in the sentence.
Output (English): 2