Task: Program Execution
Input (English): Sentence: 'a stuffed bear is sitting in front of a gift bag holding a rose'. How many words end with the letter 'g' in the sentence.
Output (English): 3