Task: Program Execution
Input (English): Sentence: 'a large and a smaller elephant standing together looking into the water'. How many words end with the letter 'g' in the sentence.
Output (English): 2