Task: Program Execution
Input (English): Sentence: 'a young lady wearing a short white dress while holding a nintendo wii game controller'. How many words end with the letter 'g' in the sentence.
Output (English): 3