Task: Program Execution
Input (English): Sentence: 'man is sitting at his computer eating a doughnut and drinking a beverage'. How many words end with the letter 'g' in the sentence.
Output (English): 3