Task: Program Execution
Input (English): Sentence: 'six people adults and children wearing skis and helmets standing or skiing on snow'. How many words end with the letter 'g' in the sentence.
Output (English): 3