Task: Program Execution
Input (English): Sentence: 'a couple in the loving room each playing on their own laptops'. How many words end with the letter 'g' in the sentence.
Output (English): 2