Task: Program Execution
Input (English): Sentence: 'children running and playing in a park in the afternoon'. How many words end with the letter 'g' in the sentence.
Output (English): 2